public void Ctor_AllowMerge(bool allowMerge) { var attribute = new MergablePropertyAttribute(allowMerge); Assert.Equal(allowMerge, attribute.AllowMerge); Assert.Equal(allowMerge, attribute.IsDefaultAttribute()); }
public void DefaultProperties_GetAllowMerge_ReturnsExpected(MergablePropertyAttribute attribute, bool expectedAllowMerge) { Assert.Equal(expectedAllowMerge, attribute.AllowMerge); Assert.Equal(expectedAllowMerge, attribute.IsDefaultAttribute()); }