@SuppressWarnings("unused")
public void someAction(@RegEx(validation = "^A.*", caseSensitive = false) final int foo) {}
}
final Method method = findMethod(Customer.class, "someAction", new Class[] { int.class });
facetFactory.processParams(new ProcessParameterContext(method, 0, facetedMethodParameter));
assertNull(facetedMethod.getFacet(RegExFacet.class));
}
}