public void CanLoadFrom_TypeMatch_IsTrue() { var loader = new AniDbEpisodeFromTvDb(_sources, _mappingList, _episodeMapper); loader.CanLoadFrom(Substitute.For <ISourceData <TvDbEpisodeData> >()).Should().BeTrue(); }
public void CanLoadFrom_TypeMisMatch_IsFalse() { var loader = new AniDbEpisodeFromTvDb(_sources, _mappingList, _episodeMapper); loader.CanLoadFrom(new object()).Should().BeFalse(); }
public void CanLoadFrom_Null_IsFalse() { var loader = new AniDbEpisodeFromTvDb(_sources, _mappingList, _episodeMapper); loader.CanLoadFrom(null).Should().BeFalse(); }