public void ShouldCreateBattleshipLobby() { //Arrange var mockedClaims = new Mock <ClaimsPrincipal>(); Player player = new Player(mockedClaims.Object); Lobby lobby = new Lobby(_battleships, player); //Act Lobby receivedLobby = _lobbyService.Create(Game.Names.Battleship, player); //Assert Assert.NotNull(receivedLobby); Assert.Equal(lobby.Game.Category, receivedLobby.Game.Category); Assert.Equal(lobby.Game.Name, receivedLobby.Game.Name); Assert.Equal(lobby.Id + 1, receivedLobby.Id); }