From de0afe0f23debda6379add3dc2e6c27d4e02dc56 Mon Sep 17 00:00:00 2001 From: Maxim Volkov Date: Thu, 17 Feb 2022 17:28:51 +0100 Subject: [PATCH] Extended: test_buildCompleteItem() by validTitle Test --- projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java b/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java index 6b2f0b2..6583144 100644 --- a/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java +++ b/projjpn/src/test/java/de/hs_fulda/ciip/projjpn/ItemTest.java @@ -61,5 +61,8 @@ public class ItemTest extends TestCase { // When boolean validDescription = itemNotNull.getDescription().equals(expectedDescription); assertTrue(validDescription); + + boolean validTitle = itemNotNull.getTitel().equals(expectedTitel); + assertTrue(validTitle); } }