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