Exemple #1
0
        public void Test_TraktExtendedInfo_SetNoSeasons()
        {
            var extendedInfo = new TraktExtendedInfo();

            extendedInfo.SetNoSeasons().Should().BeSameAs(extendedInfo);

            extendedInfo.Metadata.Should().BeFalse();
            extendedInfo.Full.Should().BeFalse();
            extendedInfo.NoSeasons.Should().BeTrue();
            extendedInfo.Episodes.Should().BeFalse();

            extendedInfo.ResetNoSeasons().Should().BeSameAs(extendedInfo);

            extendedInfo.Metadata.Should().BeFalse();
            extendedInfo.Full.Should().BeFalse();
            extendedInfo.NoSeasons.Should().BeFalse();
            extendedInfo.Episodes.Should().BeFalse();
        }