Esempio n. 1
0
        public void TestTraktSearchFilterClearEndYear()
        {
            var filter = new TraktSearchFilter();

            filter.EndYear.Should().NotHaveValue();

            filter.WithEndYear(2016);
            filter.EndYear.Should().Be(2016);

            filter.ClearEndYear();
            filter.EndYear.Should().NotHaveValue();
        }