/** Test of getType method, of class ItemCard. */ @Test public void testGetType() { ItemCard instance = new ItemCard(ItemType.ATTACK, null); ItemType expResult = ItemType.ATTACK; ItemType result = instance.getType(); assertEquals(expResult, result); }