Пример #1
0
        public async Task GetAnimeMoreInfo_BebopId_ShouldParseCowboyBebopMoreInfo()
        {
            // When
            var bebop = await _jikan.GetAnimeMoreInfo(1);

            // Then
            bebop.Info.Should().Contain("Suggested Order of Viewing");
        }
Пример #2
0
        public async Task GetAnimeMoreInfo_BebopId_ShouldParseCowboyBebopMoreInfo()
        {
            MoreInfo bebop = await _jikan.GetAnimeMoreInfo(1);

            Assert.Contains("Suggested Order of Viewing", bebop.Info);
        }
Пример #3
0
        public void ShouldParseCowboyBebopMoreInfo()
        {
            MoreInfo bebop = Task.Run(() => jikan.GetAnimeMoreInfo(1)).Result;

            Assert.Contains("Suggested Order of Viewing", bebop.Info);
        }