assertEquals("No errors should be registered", 0, errors.getErrorCount());
}
@Test
public void testNoNumberProvided() {
Account account = new Account("", "");
account.setEntityId(0L);
Errors errors = new BeanPropertyBindingResult(account, "account");
validator.validate(account, errors);
assertEquals("No errors should be registered", 0, errors.getErrorCount());
}