Esempio n. 1
0
        public async Task GetPersonPictures_WakamotoId_ShouldParseNorioWakamotoImages()
        {
            // Given
            var norioWakamoto = await _jikan.GetPersonPictures(84);

            // Then
            norioWakamoto.Pictures.Should().HaveCount(4);
        }
Esempio n. 2
0
        public async Task GetPersonPictures_WakamotoId_ShouldParseNorioWakamotoImages()
        {
            PersonPictures norioWakamoto = await jikan.GetPersonPictures(84);

            Assert.Equal(4, norioWakamoto.Pictures.Count);
        }
Esempio n. 3
0
        public void ShouldParseNorioWakamotoImages()
        {
            PersonPictures norioWakamoto = Task.Run(() => jikan.GetPersonPictures(84)).Result;

            Assert.Equal(4, norioWakamoto.Pictures.Count);
        }