verify(session).setAttribute(eq(SESSION_GAME_KEY), anyObject());
}
@Test
public void testPageBeginPlayingGame() {
Player currentPlayer = mock(Player.class);
when(currentPlayer.getName()).thenReturn("Test current player");
when(game.getCurrentPlayer()).thenReturn(currentPlayer);
when(game.getStatus()).thenReturn(GameStatus.ONGOING);
when(req.getParameter(ConnectFourServlet.PARAM_PLAY_KEY)).thenReturn("1342");
servlet.handleRequest(req);