public void validateEmail() throws ValidationException {
        validate(Validator.lengthValidator(255), getEmail());
        validate(Validator.emailValidator(), getEmail());
    }
@Test
    void shouldInvalidateEmailMoreThan255Of() {
        user = new User("UserName", new String[]{"Jez,Pavan"}, chars(256), true);
        try {
            user.validateEmail();
            fail("validator should capture the email");
        } catch (ValidationException ignored) {
        }
    }