}
final Method actionMethod = findMethod(Customer.class, "getNumberOfOrders");
expectNoMethodsRemoved();
facetFactory.process(new ProcessMethodContext(Customer.class, null, null, actionMethod, mockMethodRemover, facetedMethod));
final Facet facet = facetedMethod.getFacet(NamedFacet.class);
assertThat(facet, is(not(nullValue())));
assertThat(facet instanceof NamedFacetAbstract, is(true));
final NamedFacetAbstract namedFacetAbstract = (NamedFacetAbstract) facet;