public void GetGames() { IEnumerable <Game> games = _manager.GetGames("nullreference"); Assert.That(games.Any()); Assert.That(games.Any(game => game.Name == "Left 4 Dead")); Assert.That(games.Any(game => game.Name == "Left 4 Dead 2")); }
public void GetGames() { SteamCommunityManager manager = new SteamCommunityManager(); IEnumerable <Game> games = manager.GetGames("nullreference"); Assert.That(games.Any()); Assert.That(games.Any(game => game.Name == "Left 4 Dead")); Assert.That(games.Any(game => game.Name == "Left 4 Dead 2")); }