public void WebsiteDependencies_Sets_Correctly()
 {
     startPage = new BasePageController <StartPage>();
     startPage.WebsiteDependencies.Should().NotBeNull();
 }
 public void EpiserverRepositoryDependencies_Sets_Correctly()
 {
     startPage = new BasePageController <StartPage>();
     startPage.PageServices.Should().NotBeNull();
 }
Exemplo n.º 3
0
 private bool CheckOwnPage(BasePageController controller)
 {
     return(Enum.GetValues(GetEnumType())
            .Cast <object>()
            .Any(page => controller.GetType().Name.Contains(page.ToString())));
 }