@ -44,6 +44,18 @@ public class WarehouseTest extends TestCase {
// Then
assertEquals(expectedSum, actualSumOfAllItems);
}
public void test_emptyWarehouse() {
// Given
Warehouse warehouse = new Warehouse();
// When
int expectedSum = 0;
int actualSumOfAllItems = warehouse.getCountOfStock();