public void TestEquals() { var propertyInformation2 = new InvalidPropertyInformation(_propertyInformation.DeclaringType, _propertyInformation.Name, _propertyInformation.PropertyType); Assert.That(_propertyInformation.Equals(_propertyInformation), Is.True); Assert.That(_propertyInformation.Equals(propertyInformation2), Is.False); Assert.That(_propertyInformation.Equals(null), Is.False); }
public void SetUp() { _propertyInformation = new InvalidPropertyInformation(TypeAdapter.Create(typeof(string)), "PropertyName", typeof(int)); }