Beispiel #1
0
        public async Task GetAnimeForumTopics_BebopId_ShouldParseCowboyBebopTopics()
        {
            // When
            var bebop = await _jikan.GetAnimeForumTopics(1);

            // Then
            bebop.Topics.Should().HaveCount(15);
        }
Beispiel #2
0
        public async Task GetAnimeForumTopics_BebopId_ShouldParseCowboyBebopTopics()
        {
            ForumTopics bebop = await _jikan.GetAnimeForumTopics(1);

            Assert.Equal(15, bebop.Topics.Count);
        }
Beispiel #3
0
        public void ShouldParseCowboyBebopTopics()
        {
            ForumTopics bebop = Task.Run(() => jikan.GetAnimeForumTopics(1)).Result;

            Assert.Equal(15, bebop.Topics.Count);
        }