public void TestSubDomain() { var subDomain = new DomainName("www.domainname.com").SubDomain; Assert.AreEqual("www", subDomain); }
public void TestDomainSansSubDomain() { var sansSubDomain = new DomainName("www.domainname.com").DomainSansSubDomain; Assert.AreEqual("domainname.com", sansSubDomain); }