public void TestNotNavigableAnnotationPickedUpOnCollection()
        {
            var property = FindProperty(typeof(Customer1), "Orders");

            facetFactory.Process(Reflector, property, MethodRemover, Specification);
            var facet = Specification.GetFacet(typeof(INotNavigableFacet));

            Assert.IsNotNull(facet);
            Assert.IsTrue(facet is NotNavigableFacet);
            AssertNoMethodsRemoved();
        }
        public void TestNotNavigableAnnotationPickedUpOnCollection()
        {
            IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary();

            var property = FindProperty(typeof(Customer1), "Orders");

            metamodel = facetFactory.Process(Reflector, property, MethodRemover, Specification, metamodel);
            var facet = Specification.GetFacet(typeof(INotNavigableFacet));

            Assert.IsNotNull(facet);
            Assert.IsTrue(facet is NotNavigableFacet);
            AssertNoMethodsRemoved();
            Assert.IsNotNull(metamodel);
        }