Remove unnecessary stubbing in SetPasswordCommandTest

This commit is contained in:
Gnat008 2017-03-14 18:46:39 -04:00
parent 2214fa5839
commit cfbb3f9a7f

View File

@ -89,8 +89,6 @@ public class SetPasswordCommandTest {
public void shouldDoNothingCantChangePass() {
// given
Player player = mock(Player.class);
String name = "Carol";
given(player.getName()).willReturn(name);
// when
command.runCommand(player, Collections.singletonList("abc123"));