facetFactory.process(new ProcessMethodContext(Customer.class, null, null, collectionAccessorMethod, methodRemover, facetedMethod));
final Facet facet = facetedMethod.getFacet(CollectionClearFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof CollectionClearFacetViaClearMethod);
final CollectionClearFacetViaClearMethod collectionClearFacetViaClearMethod = (CollectionClearFacetViaClearMethod) facet;
assertEquals(clearMethod, collectionClearFacetViaClearMethod.getMethods().get(0));
assertTrue(methodRemover.getRemovedMethodMethodCalls().contains(clearMethod));
}