public async Task GetMangaPictures_MonsterId_ShouldParseMonsterImages() { // When var monster = await _jikan.GetMangaPictures(1); // Then monster.Pictures.Should().HaveCount(8); }
public async Task GetMangaPictures_MonsterId_ShouldParseMonsterImages() { MangaPictures monster = await jikan.GetMangaPictures(1); Assert.Equal(8, monster.Pictures.Count); }
public void ShouldParseMonsterImages() { MangaPictures monster = Task.Run(() => jikan.GetMangaPictures(1)).Result; Assert.Equal(8, monster.Pictures.Count); }