public void Create_PageviewHit_Validate_Fail() { var hit = new PageViewHit(); hit.DocumentLocationURL = null; Assert.False(hit.Validate()); }
public void Create_PageViewHit_No_DocumentHostName_Validate_Success() { var hit = new PageViewHit(DocumentLocationUrl); Assert.True(hit.Validate()); }
public void Create_PageViewHit_No_DocumentURL_Validate_Success() { var hit = new PageViewHit(); Assert.True(hit.Validate()); }
public void Create_PageViewHit_All_Validate_Success() { var hit = new PageViewHit(DocumentLocationUrl, DocumentHostName, DocumentPath, DocumentTitle); Assert.True(hit.Validate()); }