persistFacetFactory.process(new ProcessClassContext(Customer.class, methodRemover, facetedMethod));
final Facet facet = facetedMethod.getFacet(PersistingCallbackFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof PersistingCallbackFacetViaMethod);
final PersistingCallbackFacetViaMethod persistingCallbackFacetViaMethod = (PersistingCallbackFacetViaMethod) facet;
final List<Method> methods = persistingCallbackFacetViaMethod.getMethods();
assertTrue(methods.contains(saveMethod));
assertTrue(methods.contains(persistMethod));
assertTrue(methodRemover.getRemovedMethodMethodCalls().contains(saveMethod));
}