public void TestApplyValidationNotPickup() { facetFactory.Process(Reflector, typeof(Customer1), MethodRemover, Specification); IFacet facet = Specification.GetFacet(typeof(IValidateProgrammaticUpdatesFacet)); Assert.IsNull(facet); AssertNoMethodsRemoved(); }
public void TestApplyValidationNotPickup() { IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary(); metamodel = facetFactory.Process(Reflector, typeof(Customer1), MethodRemover, Specification, metamodel); var facet = Specification.GetFacet(typeof(IValidateProgrammaticUpdatesFacet)); Assert.IsNull(facet); AssertNoMethodsRemoved(); Assert.IsNotNull(metamodel); }