public void TestHashCodeInequality() { Credential cred1 = TestObjectBuilder.GetCredential1(); Credential cred2 = TestObjectBuilder.GetCredential2(); Assert.AreNotEqual(cred1.GetHashCode(), cred2.GetHashCode()); }
public void TestInequality() { Credential cred1 = TestObjectBuilder.GetCredential1(); Credential cred2 = TestObjectBuilder.GetCredential2(); Assert.AreNotEqual(cred1, cred2); }