public void TheFilterReturnsOnlyAudioDramasThatHaveANumber() { var provider = new SampleAudioDramaProvider(); var filter = new MainAudioDramasOnlyFilter(); var filtered = filter.Filter(provider.Get().ToList()).ToList(); Assert.IsTrue(filtered.All(x => x.AudioDramaDto.NumberEuropa.HasValue)); }
public void TheFilterHasTheCorrectMode() { var filter = new MainAudioDramasOnlyFilter(); Assert.AreEqual(EAudioDramaFilterMode.MainsOnly, filter.FilterMode); }