示例#1
0
        public async Task GetClubAsync_BebopId_ShouldParseCowboyBebopClub()
        {
            // When
            var club = await _jikan.GetClubAsync(1);

            // Then
            using (new AssertionScope())
            {
                club.Should().NotBeNull();
                club.Data.Category.Should().Be("anime");
                club.Data.Name.Should().Be("Cowboy Bebop");
                club.Data.Access.Should().Be("public");
                club.Data.Created.Should().BeSameDateAs(System.DateTime.Parse("2007-03-29"));
            }
        }