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