public void BindNever_SetsBehavior() { // Act BindingBehaviorAttribute attr = new BindNeverAttribute(); // Assert Assert.AreEqual(BindingBehavior.Never, attr.Behavior); }
public void TypeId_ReturnsSameValue() { // Arrange BindNeverAttribute neverAttr = new BindNeverAttribute(); BindRequiredAttribute requiredAttr = new BindRequiredAttribute(); // Act & assert Assert.AreSame(neverAttr.TypeId, requiredAttr.TypeId); }