public void TestMandatoryDefaultOnPrimitiveOnProperty()
        {
            var property = FindProperty(typeof(Customer3), "NumberOfOrders");

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

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

            var property = FindProperty(typeof(Customer3), "NumberOfOrders");

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

            Assert.IsNotNull(facet);
            Assert.IsTrue(facet is MandatoryFacetDefault);
            Assert.IsNotNull(metamodel);
        }