Made minor changes in some patterns such as removed throws clause where not needed, changed incorrect order of arguments in assertEquals
This commit is contained in:
@@ -37,7 +37,7 @@ public class HammerTest extends WeaponTest {
|
||||
* underlying weapon implementation.
|
||||
*/
|
||||
@Test
|
||||
public void testHammer() throws Exception {
|
||||
public void testHammer() {
|
||||
final Hammer hammer = spy(new Hammer(mock(FlyingEnchantment.class)));
|
||||
testBasicWeaponActions(hammer);
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ public class SwordTest extends WeaponTest {
|
||||
* underlying weapon implementation.
|
||||
*/
|
||||
@Test
|
||||
public void testSword() throws Exception {
|
||||
public void testSword() {
|
||||
final Sword sword = spy(new Sword(mock(FlyingEnchantment.class)));
|
||||
testBasicWeaponActions(sword);
|
||||
}
|
||||
|
Reference in New Issue
Block a user