@Test public void testHammer() throws Exception { final Hammer hammer = spy(new Hammer(mock(FlyingEnchantment.class))); testBasicWeaponActions(hammer); }
public Hammer(Enchantment enchantment) { this.enchantment = enchantment; }
Hammer implements Weapon { public Hammer(Enchantment enchantment) { this.enchantment = enchantment; } }
Hammer implements Weapon { public Hammer(Enchantment enchantment) { this.enchantment = enchantment; } Hammer(Enchantment enchantment); }
Hammer implements Weapon { public Hammer(Enchantment enchantment) { this.enchantment = enchantment; } Hammer(Enchantment enchantment); @Override void wield(); @Override void swing(); @Override void unwield(); @Override Enchantment getEnchantment(); }
Hammer implements Weapon { public Hammer(Enchantment enchantment) { this.enchantment = enchantment; } Hammer(Enchantment enchantment); @Override void wield(); @Override void swing(); @Override void unwield(); @Override Enchantment getEnchantment();  }