public void SiteInfo_ValidateObject_DefaultInitialization() { SiteInfo si = new SiteInfo(); bool result = si.IsValid(); bool expected = false; Assert.AreEqual(expected, result); }
public void SiteInfo_ValidateObject_GoodData() { SiteInfo si = new SiteInfo(); si.Author = "kdmurray"; si.Title = "This is the Title"; bool result = si.IsValid(); bool expected = true; Assert.AreEqual(expected, result); }