final Facet facet = facetedMethodParameter.getFacet(RegExFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof RegExFacetAnnotationForParameter);
final RegExFacetAnnotationForParameter regExFacet = (RegExFacetAnnotationForParameter) facet;
assertEquals("^A.*", regExFacet.validation());
assertEquals(false, regExFacet.caseSensitive());
}
public void testRegExAnnotationIgnoredForNonStringsProperty() {
final RegExFacetAnnotationForParameterFacetFactory facetFactory = new RegExFacetAnnotationForParameterFacetFactory();