Browse Source

Extended: test_buildCompleteItem() by validTitle Test

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
de0afe0f23
  1. 3
      projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java

3
projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java

@ -61,5 +61,8 @@ public class ItemTest extends TestCase {
// When // When
boolean validDescription = itemNotNull.getDescription().equals(expectedDescription); boolean validDescription = itemNotNull.getDescription().equals(expectedDescription);
assertTrue(validDescription); assertTrue(validDescription);
boolean validTitle = itemNotNull.getTitel().equals(expectedTitel);
assertTrue(validTitle);
} }
} }
Loading…
Cancel
Save