Esempio n. 1
0
        public void TheFilterReturnsAllGivenAudioDramas()
        {
            var provider    = new SampleAudioDramaProvider();
            var audioDramas = provider.Get().ToList();
            var filter      = new AllAudioDramasFilter();

            var filtered = filter.Filter(audioDramas).ToList();

            CollectionAssert.AreEqual(audioDramas, filtered);
        }
Esempio n. 2
0
        public void TheFilterIsMappedToTheCorrectMode()
        {
            var filter = new AllAudioDramasFilter();

            Assert.AreEqual(EAudioDramaFilterMode.All, filter.FilterMode);
        }