GameMessage startMsg = new GameMessage();
startMsg.setAction(GameAction.START);
startMsg.setGameId(game.getId());
WebSocketSession session = getSession("1");
handler.handleMessage(session, getTextMessage(startMsg));
GameEvent responseNewPiece = mapper.readValue(messages.get("1").removeLast().getPayload().toString(), GameEvent.class);
GameEvent responseGameStarted = mapper.readValue(messages.get("1").removeLast().getPayload().toString(), GameEvent.class);
Assert.assertEquals(GameEventType.GAME_STARTED, responseGameStarted.getType());