/**
  * @test
  */
 public function testCannotJoinUserWithoutAGame()
 {
     $exception = MessageParserException::cannotJoinUserWithoutAGame(\Mockery::mock(ParsingUser::class));
     $this->assertEquals(MessageParserException::JOIN_NO_GAME, $exception->getCodeName());
 }