Exemple #1
0
    public async Task GetMangaExternalLinksAsync_MonsterId_ShouldReturnMonsterLinks()
    {
        // When
        var links = await _jikan.GetMangaExternalLinksAsync(1);

        // Then
        using var _ = new AssertionScope();
        links.Data.Should().ContainSingle();
        links.Data.Should().Contain(x => x.Name.Equals("Wikipedia") && x.Url.Equals("http://ja.wikipedia.org/wiki/MONSTER"));
    }