public void TestNotEqualsDifferentValue() { GrouperDocumentRule rule1 = TestHelpers.MakeRule(new { Name = "Upn", Value = "One" }); GrouperDocumentRule rule2 = TestHelpers.MakeRule(new { Name = "Upn", Value = "Two" }); Assert.False(rule1.Equals(rule2)); }
public void TestEquals() { GrouperDocumentRule rule1 = TestHelpers.MakeRule(); GrouperDocumentRule rule2 = TestHelpers.MakeRule(); Assert.True(rule1.Equals(rule2)); }