Пример #1
0
        public void CanLoadFrom_WrongItemType_IsFalse()
        {
            var loader = new AniDbEpisodeFromEmbyData(this.sources, this.aniDbEpisodeMatcher, this.mappingList);

            loader.CanLoadFrom(MediaItemTypes.Season).Should().BeFalse();
        }
Пример #2
0
        public void CanLoadFrom_Null_IsFalse()
        {
            var loader = new AniDbEpisodeFromEmbyData(this.sources, this.aniDbEpisodeMatcher, this.mappingList);

            loader.CanLoadFrom(null).Should().BeFalse();
        }
Пример #3
0
        public void CanLoadFrom_CorrectItemType_IsTrue()
        {
            var loader = new AniDbEpisodeFromEmbyData(this.sources, this.aniDbEpisodeMatcher, this.mappingList);

            loader.CanLoadFrom(MediaItemTypes.Episode).Should().BeTrue();
        }
        public void CanLoadFrom_WrongItemType_IsFalse()
        {
            var loader = new AniDbEpisodeFromEmbyData(_sources, _aniDbEpisodeMatcher);

            loader.CanLoadFrom(MediaItemTypes.Season).Should().BeFalse();
        }
        public void CanLoadFrom_Null_IsFalse()
        {
            var loader = new AniDbEpisodeFromEmbyData(_sources, _aniDbEpisodeMatcher);

            loader.CanLoadFrom(null).Should().BeFalse();
        }
        public void CanLoadFrom_CorrectItemType_IsTrue()
        {
            var loader = new AniDbEpisodeFromEmbyData(_sources, _aniDbEpisodeMatcher);

            loader.CanLoadFrom(MediaItemTypes.Episode).Should().BeTrue();
        }