diff --git a/src/test/java/org/bitbiome/entitiesTest/ItemTest.java b/src/test/java/org/bitbiome/entitiesTest/ItemTest.java index 069c5a7..1f1a677 100644 --- a/src/test/java/org/bitbiome/entitiesTest/ItemTest.java +++ b/src/test/java/org/bitbiome/entitiesTest/ItemTest.java @@ -17,6 +17,7 @@ public class ItemTest { item.setName("Unit"); item.setDamage("12,5"); item.changeDoesDamage(true); + item.setAmount(5); } @Test @@ -35,4 +36,9 @@ public class ItemTest { assumeTrue(item.getDamage().equals("12,5")); assumeTrue(doesDamage); } + + @Test + public void testGetAmount() { + assumeTrue(item.getAmount() == 5); + } }