public void CanGetAllPage() { PageRepository repository = new PageRepository(); IList <CmsPage> pagelist = repository.FetchPagesByTemplateName("_login"); Assert.That(pagelist, Is.Not.Null); }