@Test public void testUse() { final Character character = mock(Character.class); helmet1.use(character); helmet2.use(character); verifyZeroInteractions(character); }
@Override public void use(Character character) { }
Helmet extends AbstractDefensiveItem { @Override public void use(Character character) { } }
Helmet extends AbstractDefensiveItem { @Override public void use(Character character) { } Helmet(DefensiveItemProperties properties, int amount); }
Helmet extends AbstractDefensiveItem { @Override public void use(Character character) { } Helmet(DefensiveItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character); }
Helmet extends AbstractDefensiveItem { @Override public void use(Character character) { } Helmet(DefensiveItemProperties properties, int amount); @Override Item clone(); @Override void use(Character character);  }