public void HashCodeDiffersByType() { var a = new EmailAddress("*****@*****.**"); var b = new StringType("*****@*****.**"); Assert.NotEqual(a.GetHashCode(), b.GetHashCode()); }