|
@ -67,5 +67,8 @@ public class ItemTest extends TestCase { |
|
|
|
|
|
|
|
|
boolean validQuantity = itemNotNull.getCurrentStock() == expectedQuantity; |
|
|
boolean validQuantity = itemNotNull.getCurrentStock() == expectedQuantity; |
|
|
assertTrue(validQuantity); |
|
|
assertTrue(validQuantity); |
|
|
|
|
|
|
|
|
|
|
|
boolean validPrice = itemNotNull.getCurrentPrice() == expectedPrice; |
|
|
|
|
|
assertTrue(validPrice); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |