use of com.faforever.server.integration.legacy.transformer.RestoreGameSessionRequest in project faf-java-server by FAForever.
the class V2ClientMessageTransformerTest method restoreGameSession.
@Test
public void restoreGameSession() throws Exception {
ClientMessage result = instance.transform(write(new RestoreGameSessionClientMessage(123)));
assertThat(result, is(new RestoreGameSessionRequest(123)));
}
use of com.faforever.server.integration.legacy.transformer.RestoreGameSessionRequest in project faf-java-server by FAForever.
the class GameServiceActivatorsTest method restoreGameSession.
@Test
public void restoreGameSession() throws Exception {
instance.restoreGameSession(new RestoreGameSessionRequest(5), clientConnection.getAuthentication());
verify(gameService).restoreGameSession(player, 5);
}
Aggregations