@Test public void testUse() { final Character character = mock(Character.class); weapon1.use(character); weapon2.use(character); verifyZeroInteractions(character); }
@Override public void use(Character character) { }
Weapon extends AbstractEquipableItem { @Override public void use(Character character) { } }
Weapon extends AbstractEquipableItem { @Override public void use(Character character) { } Weapon(WeaponProperties properties, int amount); }
Weapon extends AbstractEquipableItem { @Override public void use(Character character) { } Weapon(WeaponProperties properties, int amount); @Override Item clone(); @Override void use(Character character); boolean getStabs(); int getPiercingDamage(); int getMinHit(); int getMaxHit(); int getDamage(); }
Weapon extends AbstractEquipableItem { @Override public void use(Character character) { } Weapon(WeaponProperties properties, int amount); @Override Item clone(); @Override void use(Character character); boolean getStabs(); int getPiercingDamage(); int getMinHit(); int getMaxHit(); int getDamage();  }