示例#1
0
        public async Task GetAnimeTop_NoParameter_ShouldParseTopAnime()
        {
            // When
            var top = await _jikan.GetAnimeTop();

            top.Should().NotBeNull();
        }
示例#2
0
        public async Task GetAnimeTop_NoParameter_ShouldParseTopAnime()
        {
            AnimeTop top = await jikan.GetAnimeTop();

            Assert.NotNull(top);
        }
示例#3
0
        public void ShouldParseTopAnime()
        {
            AnimeTop top = Task.Run(() => jikan.GetAnimeTop()).Result;

            Assert.NotNull(top);
        }