public void Property_Equals_Should_Handle_Null() { var p1 = new TestProperty <string>("p1", typeof(Class1)); Assert.NotNull(p1); Assert.NotNull(p1); Assert.False(p1 == null); Assert.False(null == p1); Assert.False(p1.Equals(null)); Assert.True((AvaloniaProperty)null == (AvaloniaProperty)null); }