コード例 #1
0
        public async Task GetCharacterPicturesAsync_SpikeSpiegelId_ShouldParseSpikeSpiegelImages()
        {
            // When
            var spike = await _jikan.GetCharacterPicturesAsync(1);

            // Then
            using var _ = new AssertionScope();
            spike.Data.Should().HaveCount(15);
            spike.Data.Should().OnlyContain(x => !string.IsNullOrWhiteSpace(x.JPG.ImageUrl));
        }