public void DefaultNoMerge_HabitatHome_CorrectID() { // Arrange using (var db = Dbs.DefaultNoMerge()) { // Act var home = db.GetItem(Ids.Habitat); // Assert Assert.IsTrue(home.ID == new Sitecore.Data.ID(Ids.Habitat)); } }
public void DefaultNoMerge_HabitatHome_CorrectTitle() { // Arrange using (var db = Dbs.DefaultNoMerge()) { // Act var home = db.GetItem(Ids.Habitat); // Assert Assert.IsTrue(home["Title"] == "About Habitat"); } }
public void DefaultNoMerge_HabitatHome_NotNull() { // Arrange using (var db = Dbs.DefaultNoMerge()) { // Act var home = db.GetItem(Ids.Habitat); // Assert Assert.IsNotNull(home); } }