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