public void WhenGetAll_ThenReturnsPokemonNames() { var sut = new PokeApiClient(); var expectedCount = 40; // Fetch only 2 pages to avoid daily limit of calls by IP. var names = sut.GetAll().Take(expectedCount).ToArray(); Assert.AreEqual(expectedCount, names.Length); foreach (var name in names) { System.Console.WriteLine(name); Assert.IsFalse(string.IsNullOrWhiteSpace(name)); } }