public async Task GetAnimeForumTopics_BebopId_ShouldParseCowboyBebopTopics() { // When var bebop = await _jikan.GetAnimeForumTopics(1); // Then bebop.Topics.Should().HaveCount(15); }
public async Task GetAnimeForumTopics_BebopId_ShouldParseCowboyBebopTopics() { ForumTopics bebop = await _jikan.GetAnimeForumTopics(1); Assert.Equal(15, bebop.Topics.Count); }
public void ShouldParseCowboyBebopTopics() { ForumTopics bebop = Task.Run(() => jikan.GetAnimeForumTopics(1)).Result; Assert.Equal(15, bebop.Topics.Count); }