return null;
}
}
final Method collectionAccessorMethod = findMethod(Customer.class, "getOrders");
facetFactory.process(new ProcessMethodContext(Customer.class, null, null, collectionAccessorMethod, methodRemover, facetedMethod));
final Facet facet = facetedMethod.getFacet(TypeOfFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof TypeOfFacetInferredFromGenerics);
final TypeOfFacetInferredFromGenerics typeOfFacetInferredFromGenerics = (TypeOfFacetInferredFromGenerics) facet;