@Test public void testGetWoodType() { assertEquals(WoodType.NORMAL, wood1.getWoodType()); assertEquals(WoodType.ELVEN, wood2.getWoodType()); }
public WoodType getWoodType() { return ((WoodProperties) properties).getWoodType(); }
Wood extends AbstractItem { public WoodType getWoodType() { return ((WoodProperties) properties).getWoodType(); } }
Wood extends AbstractItem { public WoodType getWoodType() { return ((WoodProperties) properties).getWoodType(); } Wood(WoodProperties properties, int amount); }
Wood extends AbstractItem { public WoodType getWoodType() { return ((WoodProperties) properties).getWoodType(); } Wood(WoodProperties properties, int amount); @Override Item clone(); @Override void use(Character character); WoodType getWoodType(); }
Wood extends AbstractItem { public WoodType getWoodType() { return ((WoodProperties) properties).getWoodType(); } Wood(WoodProperties properties, int amount); @Override Item clone(); @Override void use(Character character); WoodType getWoodType();  }