Skip to content

Commit

Permalink
MEED-3168 Increase the coverage ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
MayTekayaa committed Jan 17, 2024
1 parent d6ef35e commit fa7fcf0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ public void testUnlockInformation() {
p.setProperty(ProductInformations.DELAY, "0");
p.setProperty(ProductInformations.PRODUCT_CODE, "0");
p.setProperty(ProductInformations.PRODUCT_KEY, "0");
p.setProperty(ProductInformations.PRODUCT_NAME, "product.name");
p.setProperty(ProductInformations.PRODUCT_LINK, "product.link");

// When
productInformations.setUnlockInformation(p);
Expand All @@ -91,6 +93,8 @@ public void testUnlockInformation() {
assertEquals(productInformations.getDuration(), "0");
assertEquals(productInformations.getProductCode(), "0");
assertEquals(productInformations.getProductKey(), "0");
assertEquals(productInformations.getProductName(), null);
assertEquals(productInformations.getProductLink(), null);
}

@SuppressWarnings("rawtypes")
Expand Down

0 comments on commit fa7fcf0

Please sign in to comment.