public async Task GetAllLobbies() { // Arrange // Seeding has 2 lobbies int expectedResult = 2; // Act var lobbies = await _gameLobbyRepository.GetAllGameLobbies(); // Assert Assert.AreEqual(expectedResult, lobbies.Count()); }
public async Task <IEnumerable <GameLobby> > GetAllGameLobbies() { return(await _gameLobbyRepository.GetAllGameLobbies()); }