Error message: Cannot convert Player to PlayerThis is where the error happens (game.AddPlayer..) and below is addPlayer.Thanks in advance! private Game game; private Player alice; private Player bob; @Before public void fixture() { game = new Game(); alice = game.addPlayer("Alice"); bob = game.addPlayer("Bob"); } public Player addPlayer(String name) { if (running) throw new IllegalStateException("Can not add player to running game."); if (players.size() >= MAX_PLAYERS) throw new IllegalStateException("Game is full, can not add player."); Player player = this.createPlayer(name); players.add(player); player.joinGame(board); return player; }