Add tests for LogoutCommand and RegisterCommand. Add more generic mockUtil

This commit is contained in:
ljacqu
2015-11-21 10:29:40 +01:00
parent 4e8614fdf7
commit 58dc15123c
6 changed files with 183 additions and 11 deletions
@@ -23,7 +23,7 @@ public class LogoutCommand extends ExecutableCommand {
final Player player = (Player) sender;
// Logout the player
plugin.management.performLogout(player);
plugin.getManagement().performLogout(player);
return true;
}
}