facetFactory.process(new ProcessMethodContext(Customer.class, method, methodRemover, facetedMethod));
Facet facet = facetedMethod.getFacet(ExecutedFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof ExecutedFacet);
final ExecutedFacet executedFacet = (ExecutedFacet) facet;
assertEquals(ExecutedFacet.Where.REMOTELY, executedFacet.value());
facet = facetedMethod.getFacet(NamedFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof NamedFacet);
final NamedFacet namedFacet = (NamedFacet) facet;