facetFactory.process(new ProcessMethodContext(Customer.class, null, null, actionMethod, methodRemover, facetHolderWithParms));
final Facet facet0 = facetHolderWithParms.getParameters().get(0).getFacet(ActionParameterChoicesFacet.class);
assertNotNull(facet0);
assertTrue(facet0 instanceof ActionParameterChoicesFacetViaMethod);
final ActionParameterChoicesFacetViaMethod actionChoicesFacetViaMethod0 = (ActionParameterChoicesFacetViaMethod) facet0;
assertEquals(choices0Method, actionChoicesFacetViaMethod0.getMethods().get(0));
assertTrue(methodRemover.getRemovedMethodMethodCalls().contains(choices0Method));
final Facet facet1 = facetHolderWithParms.getParameters().get(1).getFacet(ActionParameterChoicesFacet.class);
assertNotNull(facet1);
assertTrue(facet1 instanceof ActionParameterChoicesFacetViaMethod);
final ActionParameterChoicesFacetViaMethod actionChoicesFacetViaMethod1 = (ActionParameterChoicesFacetViaMethod) facet1;
assertEquals(choices1Method, actionChoicesFacetViaMethod1.getMethods().get(0));
assertTrue(methodRemover.getRemovedMethodMethodCalls().contains(choices1Method));
final Facet facet2 = facetHolderWithParms.getParameters().get(2).getFacet(ActionParameterChoicesFacet.class);
assertNotNull(facet2);
assertTrue(facet2 instanceof ActionParameterChoicesFacetViaMethod);
final ActionParameterChoicesFacetViaMethod actionChoicesFacetViaMethod2 = (ActionParameterChoicesFacetViaMethod) facet2;
assertEquals(choices2Method, actionChoicesFacetViaMethod2.getMethods().get(0));
assertTrue(methodRemover.getRemovedMethodMethodCalls().contains(choices2Method));
}