public void TestFindMenuFacetNotAddedToParameterByDefault()
        {
            MethodInfo method = FindMethod(typeof(Customer), "Action1", new[] { typeof(Foo), typeof(Foo) });

            facetFactory.ProcessParams(Reflector, method, 0, Specification);
            IFacet facet = Specification.GetFacet(typeof(IFindMenuFacet));

            Assert.IsNull(facet);
        }
        public void TestFindMenuFacetNotAddedToParameterByDefault()
        {
            IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary();

            MethodInfo method = FindMethod(typeof(Customer), "Action1", new[] { typeof(Foo), typeof(Foo) });

            metamodel = facetFactory.ProcessParams(Reflector, method, 0, Specification, metamodel);
            IFacet facet = Specification.GetFacet(typeof(IFindMenuFacet));

            Assert.IsNull(facet);
            Assert.IsNotNull(metamodel);
        }