public void BindNever_SetsBehavior() { // Act HttpBindingBehaviorAttribute attr = new HttpBindNeverAttribute(); // Assert Assert.Equal(HttpBindingBehavior.Never, attr.Behavior); }
public void TypeId_ReturnsSameValue() { // Arrange HttpBindNeverAttribute neverAttr = new HttpBindNeverAttribute(); HttpBindRequiredAttribute requiredAttr = new HttpBindRequiredAttribute(); // Act & assert Assert.Same(neverAttr.TypeId, requiredAttr.TypeId); }