Assert.assertEquals(GameEngine.instance().getLobby().getAvailableGames().size(), 0);
Assert.assertEquals(GameEngine.instance().getUsers().size(), 0);
final Game game = GameImpl.getNewInstance(GAME, null, null);
Assert.assertEquals(GameEngine.instance().getLobby().getAvailableGames().size(), 1);
Assert.assertEquals(game.getDetectives().size(), 0);
final Player player = new Detective(UserImpl.getNewInstance("s", "s"));
Assert.assertEquals(GameEngine.instance().getUsers().size(), 1);
game.addDetective((Detective)player);
Assert.assertEquals(game.getDetectives().size(), 1);
Assert.assertEquals(game.getPlayers().size(), 1);
Assert.assertEquals(game.getPlayer("s"), player);