assertThat(regExFacetOnTypeAnnotation.doesNotMatch("aBd"), equalTo(true));
}
@Test
public void shouldReformat() {
regExFacetOnTypeAnnotation = new RegExFacetOnTypeAnnotation("^([0-9]{2})([0-9]{2})([0-9]{2})$", "$1-$2-$3", false, facetHolder);
assertThat(regExFacetOnTypeAnnotation.doesNotMatch("123456"), equalTo(false));
assertThat(regExFacetOnTypeAnnotation.format("123456"), equalTo("12-34-56"));
}