public void GetChild() { DN baseDN = new DN("DC=example,DC=com"); DN childDN = baseDN.GetChild("CN=pete,OU=people"); DN fullDN = new DN("CN=pete,OU=people,DC=example,DC=com"); Assert.AreEqual(childDN, fullDN); }
public void GetChild() { DN baseDN = new DN("DC=example,DC=com"); DN childDN = baseDN.GetChild("CN=pete,OU=people"); DN fullDN = new DN("CN=pete,OU=people,DC=example,DC=com"); Assert.AreEqual(childDN, fullDN); }