public async Task GetPersonPictures_WakamotoId_ShouldParseNorioWakamotoImages() { // Given var norioWakamoto = await _jikan.GetPersonPictures(84); // Then norioWakamoto.Pictures.Should().HaveCount(4); }
public async Task GetPersonPictures_WakamotoId_ShouldParseNorioWakamotoImages() { PersonPictures norioWakamoto = await jikan.GetPersonPictures(84); Assert.Equal(4, norioWakamoto.Pictures.Count); }
public void ShouldParseNorioWakamotoImages() { PersonPictures norioWakamoto = Task.Run(() => jikan.GetPersonPictures(84)).Result; Assert.Equal(4, norioWakamoto.Pictures.Count); }