Player X has the first turn:
@Test public void givenFirstTurnWhenNextPlayerThenX() { assertEquals('X', ticTacToe.nextPlayer()); }
The first turn should be played by Player X.
This test should be self-explanatory. We are expecting the nextPlayer method to return X. If you try to run this, you'll see that the code does not even compile. That's because the nextPlayer method does not even exist. Our job is to write the nextPlayer method and make sure that it returns the correct value.