public void Equals_Object_ReturnsExpected(MergablePropertyAttribute attribute, object other, bool expected) { Assert.Equal(expected, attribute.Equals(other)); if (other is MergablePropertyAttribute) { Assert.Equal(expected, attribute.GetHashCode().Equals(other.GetHashCode())); } }