よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task GetCharacterVoiceActorsAsync_SpikeSpiegelId_ShouldParseSpikeSpiegelVoiceActors() { // When var spike = await _jikan.GetCharacterVoiceActorsAsync(1); // Then using var _ = new AssertionScope(); spike.Data.Should().HaveCount(13); spike.Data.Should().Contain(x => x.Language.Equals("Japanese") && x.Person.Name.Equals("Yamadera, Kouichi")); spike.Data.Should().Contain(x => x.Language.Equals("English") && x.Person.Name.Equals("Blum, Steven")); spike.Data.Should().Contain(x => x.Language.Equals("German") && x.Person.Name.Equals("Neumann, Viktor")); }