public void GetHashCodeTest() { ComplexBindingPropertiesAttribute a; a = new ComplexBindingPropertiesAttribute("source", "member"); Assert.IsFalse(0 == a.GetHashCode(), "1"); a = new ComplexBindingPropertiesAttribute("source"); Assert.IsFalse(0 == a.GetHashCode(), "2"); }
public void GetHashCode_Invoke_ReturnsConsistentValue() { var attribute = new ComplexBindingPropertiesAttribute(); Assert.Equal(attribute.GetHashCode(), attribute.GetHashCode()); }