public void TestPluralAnnotationMethodPickedUpOnClass()
        {
            facetFactory.Process(Reflector, typeof(Customer), MethodRemover, Specification);
            IFacet facet = Specification.GetFacet(typeof(IPluralFacet));

            Assert.IsNotNull(facet);
            Assert.IsTrue(facet is PluralFacetAnnotation);
            var pluralFacet = (PluralFacetAnnotation)facet;

            Assert.AreEqual("Some plural name", pluralFacet.Value);
            AssertNoMethodsRemoved();
        }
        public void TestPluralAnnotationMethodPickedUpOnClass()
        {
            IImmutableDictionary <string, ITypeSpecBuilder> metamodel = new Dictionary <string, ITypeSpecBuilder>().ToImmutableDictionary();

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

            Assert.IsNotNull(facet);
            Assert.IsTrue(facet is PluralFacetAnnotation);
            var pluralFacet = (PluralFacetAnnotation)facet;

            Assert.AreEqual("Some plural name", pluralFacet.Value);
            AssertNoMethodsRemoved();
            Assert.IsNotNull(metamodel);
        }