public void HashCode_Should_BeNotEqualWithNonEqualDistinguishedNames() { // Arrange var dn1 = new DistinguishedName("Cn=Dave,oU=pEoPle,DC=example,Dc=cOM"); var dn2 = new DistinguishedName("CN=david,OU=people,DC=example,DC=com"); // Act // Assert Assert.NotEqual(dn1.GetHashCode(), dn2.GetHashCode()); }
public override int GetHashCode() { return(DistinguishedName.GetHashCode()); }