final RegExFacetAnnotationForTypeFacetFactory facetFactory = new RegExFacetAnnotationForTypeFacetFactory();
@RegEx(validation = "^A.*", caseSensitive = false)
class Customer {
}
facetFactory.process(new ProcessClassContext(Customer.class, methodRemover, facetedMethod));
final Facet facet = facetedMethod.getFacet(RegExFacet.class);
assertNotNull(facet);
assertTrue(facet instanceof RegExFacetAnnotationForType);
final RegExFacetAnnotationForType regExFacet = (RegExFacetAnnotationForType) facet;