public class NumberValidatorTest {
@Test
public void testPassLetterInsteadOfNumber_shouldNotValidateAndGiveErrorMessage() throws Exception {
NumberValidator numberValidator = new NumberValidator();
SingleAttributeValidationResult validate = numberValidator.validate("A");
assertFalse(validate.isValid());
assertEquals("validation.number.formating", validate.getErrorMessageId());
}
// TODO: [OPENENGSB-1250] public void testUsingGermanLocale_shouldReturnGermanMessage() {