public void Ctor_NotifyParent(bool notifyParent) { var attribute = new NotifyParentPropertyAttribute(notifyParent); Assert.Equal(notifyParent, attribute.NotifyParent); Assert.Equal(!notifyParent, attribute.IsDefaultAttribute()); }
public void DefaultProperties_GetNotifyParent_ReturnsExpected(NotifyParentPropertyAttribute attribute, bool expectedNotifyParent) { Assert.Equal(expectedNotifyParent, attribute.NotifyParent); Assert.Equal(!expectedNotifyParent, attribute.IsDefaultAttribute()); }