public void IsIncludedIServiceBehavior1s() { // Arrange var sb = new ServiceBehaviorThirdParty(); var attrib = new IncludedServiceBehaviorsAttribute("ServiceBehaviorBogus"); // Act & Assert Assert.IsFalse(ServiceBehaviorApplicator.IsIncluded(sb, attrib)); }
public void IsIncludedServiceBehaviorBaseTrueTests() { // Arrange var sb = new ServiceBehavior1(); var attrib = new IncludedServiceBehaviorsAttribute("ServiceBehavior1"); // Act & Assert Assert.IsTrue(ServiceBehaviorApplicator.IsIncluded(sb, attrib)); }