public void Setup() { _config = Substitute.For <IConfig>(); _archetypeThumbnail = Substitute.For <IArchetypeThumbnail>(); _sut = new ArchetypeWebPage(_config, new HtmlWebPage(), _archetypeThumbnail); }
public void SetUp() { _htmlWebPage = Substitute.For <IHtmlWebPage>(); _archetypeThumbnail = Substitute.For <IArchetypeThumbnail>(); _sut = new ArchetypeWebPage(Substitute.For <IOptions <AppSettings> >(), _htmlWebPage, _archetypeThumbnail); }
public void SetUp() { _sut = new ArchetypeWebPage(Substitute.For <IOptions <AppSettings> >(), new HtmlWebPage(), Substitute.For <IArchetypeThumbnail>()); }