jago-server/src/test/java/jago/server/models/BotPlayerTest.java
@Test
	public void changeState() {
		player.changeState(new LinkedList<>());
		assertFalse(player.isGame);
		player.makeMove();
		verify(myGame, times(1)).remadeTerritories();
		verify(myGame, times(1)).forfeit();
		player.changeState();
	}
/**
	 * Test of changeState method, of class BotPlayer.
	 */
Test of changeState method, of class BotPlayer.
Test of changeState method of class BotPlayer .
@Test
	public void changeState() {
		player.changeState(new LinkedList<>());
		assertFalse(player.isGame);
		player.makeMove();
		verify(myGame, times(1)).remadeTerritories();
		verify(myGame, times(1)).forfeit();
		player.changeState();
	}
@ Test public void changeState ( ) { player . changeState ( new LinkedList < > ( ) ) ; assertFalse ( player . isGame ) ; player . makeMove ( ) ; verify ( myGame , times ( 1 ) ) . remadeTerritories ( ) ; verify ( myGame , times ( 1 ) ) . forfeit ( ) ; player . changeState ( ) ; }
Test of changeState method, of class BotPlayer.
Test of changeState method of class BotPlayer .