| 12 |
testAddValidCoffeeAmt |
add well-formed quantities to coffee |
do not get an exception trying to read the inventory quantities |
Same as expected result |
pass |
| 13 |
testAddValidMilkAmt |
add well-formed quantities to milk |
do not get an exception trying to read the inventory quantities |
Same as expected result |
pass |
| 14 |
testAddValidSugarAmt |
add well-formed quantities to Sugar |
do not get an exception trying to read the inventory quantities |
InventoryException throw |
fail |
| 15 |
testAddValidChocolateAmt |
add well-formed quantities to chocolate |
do not get an exception trying to read the inventory quantities |
Same as expected result |
pass |
| 16 |
testInventoryIsAddToCurrent |
Given a CoffeeMaker with the default inventory then we add well-formed quantities to coffee and observe current inventory |
Since default inventory is 15, once we add 5 to inventory it should become 20 |
Same as expected result |
pass |
| 17 |
testAddDecimalCoffeeAmt |
add decimal quantities to coffee |
Should throws InventoryException |
Same as expected result |
pass |
| 18 |
testAddDecimalMilkAmt |
add decimal quantities to milk |
Should throws InventoryException |
Same as expected result |
pass |
| 19 |
testAddDecimalSugarAmt |
add decimal quantities to sugar |
Should throws InventoryException |
Same as expected result |
pass |
| 20 |
testAddDecimalChocolateAmt |
add decimal quantities to chocolate |
Should throws InventoryException |
Same as expected result |
pass |
| 21 |
testAddNegativeCoffeeAmt |
add negative quantities to coffee |
Should throws InventoryException |
Same as expected result |
pass |
| 22 |
testAddNegativeMilkAmt |
add negative quantities to milk |
Should throws InventoryException |
Same as expected result |
pass |
| 23 |
testAddNegativeSugarAmt |
add negative quantities to sugar |
Should throws InventoryException |
no error throw |
fail |
| 24 |
testAddNegativeChocolateAmt |
add negative quantities to chocolate |
Should throws InventoryException |
Same as expected result |
pass |
| 25 |
testAddAlphabeticCoffeeAmt |
add alphabetic character quantities to coffee |
Should throws InventoryException |
Same as expected result |
pass |
| 26 |
testAddAlphabeticMilkAmt |
add alphabetic character quantities to coffee |
Should throws InventoryException |
Same as expected result |
pass |
| 27 |
testAddAlphabeticSugarAmt |
add alphabetic character quantities to coffee |
Should throws InventoryException |
Same as expected result |
pass |
| 28 |
testAddAlphabeticChocolateAmt |
add alphabetic character quantities to coffee |
Should throws InventoryException |
Same as expected result |
pass |