Beispiel #1
0
        public void CanLoadFrom_TypeMatch_IsTrue()
        {
            var loader = new AniDbEpisodeFromTvDb(_sources, _mappingList, _episodeMapper);

            loader.CanLoadFrom(Substitute.For <ISourceData <TvDbEpisodeData> >()).Should().BeTrue();
        }
Beispiel #2
0
        public void CanLoadFrom_TypeMisMatch_IsFalse()
        {
            var loader = new AniDbEpisodeFromTvDb(_sources, _mappingList, _episodeMapper);

            loader.CanLoadFrom(new object()).Should().BeFalse();
        }
Beispiel #3
0
        public void CanLoadFrom_Null_IsFalse()
        {
            var loader = new AniDbEpisodeFromTvDb(_sources, _mappingList, _episodeMapper);

            loader.CanLoadFrom(null).Should().BeFalse();
        }