public void TestDefaultMenuPickedUp() { facetFactory.Process(Reflector, typeof(Class1), MethodRemover, Specification); var facet = Specification.GetFacet(typeof(IMenuFacet)); Assert.IsNotNull(facet); Assert.IsTrue(facet is MenuFacetDefault); }
public void TestDefaultMenuPickedUp() { IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary(); metamodel = facetFactory.Process(Reflector, typeof(Class1), MethodRemover, Specification, metamodel); IFacet facet = Specification.GetFacet(typeof(IMenuFacet)); Assert.IsNotNull(facet); Assert.IsTrue(facet is MenuFacetDefault); Assert.IsNotNull(metamodel); }