From 235e72665a1e65f4e7b7b60792ff9329a17e524f Mon Sep 17 00:00:00 2001 From: Maxim Volkov Date: Thu, 17 Feb 2022 17:30:39 +0100 Subject: [PATCH] Extended: test_buildCompleteItem() by validPrice 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 307b192..4a5dcc4 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 @@ -67,5 +67,8 @@ public class ItemTest extends TestCase { boolean validQuantity = itemNotNull.getCurrentStock() == expectedQuantity; assertTrue(validQuantity); + + boolean validPrice = itemNotNull.getCurrentPrice() == expectedPrice; + assertTrue(validPrice); } }