@Test
 public void testValueWithSpecialCharsAllowWhitespace() {
   ConstraintValidationResult result =
       process(sydneyAUSAddress, "street1", street1AlphaPatternConstraint);
   Assert.assertEquals(0, dictionaryValidationResult.getNumberOfWarnings());
   Assert.assertEquals(1, dictionaryValidationResult.getNumberOfErrors());
   Assert.assertEquals(ErrorLevel.ERROR, result.getStatus());
   Assert.assertEquals(
       new ValidCharactersConstraintProcessor().getName(), result.getConstraintName());
 }
 @Test
 public void testValueNotValidChars() {
   ConstraintValidationResult result =
       process(newYorkNYAddress, "city", cityAlphaPatternConstraint);
   Assert.assertEquals(0, dictionaryValidationResult.getNumberOfWarnings());
   Assert.assertEquals(1, dictionaryValidationResult.getNumberOfErrors());
   Assert.assertEquals(ErrorLevel.ERROR, result.getStatus());
   Assert.assertEquals(
       new ValidCharactersConstraintProcessor().getName(), result.getConstraintName());
 }