@SuppressWarnings("unused")
public void someAction(@TypicalLength(20) final int foo) {}
}
final Method method = findMethod(Customer.class, "someAction", new Class[] { int.class });
facetFactory.processParams(new ProcessParameterContext(method, 0, facetedMethodParameter));
final Facet facet = facetedMethodParameter.getFacet(TypicalLengthFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof TypicalLengthFacetAnnotationOnParameter);
final TypicalLengthFacetAnnotationOnParameter typicalLengthFacetAnnotation = (TypicalLengthFacetAnnotationOnParameter) facet;