public void IsExcludedServiceBehaviorByTypeFalseTests() { // Arrange var sb = new ServiceBehavior1(); var attrib = new ExcludedServiceBehaviorTypesAttribute(ServiceBehaviorType.Authenticator); // Act & Assert Assert.IsTrue(ServiceBehaviorApplicator.IsExcluded(sb, attrib)); }
public void IsExcludedServiceBehaviorBaseFalseTests() { // Arrange var sb = new ServiceBehavior1(); var attrib = new ExcludedServiceBehaviorsAttribute("ServiceBehaviorBogus"); // Act & Assert Assert.IsFalse(ServiceBehaviorApplicator.IsExcluded(sb, attrib)); }