    @Test
    public void showErrorsJava() {

        // form
        mForm = new Form(mContext);

        // validator
        InputValidator emailInputValidator = new InputValidator(mContext);
        emailInputValidator.setRequired(true);
        emailInputValidator.setEditText(mEmailEditText);
        mForm.addInputValidator(emailInputValidator);

        // show errors
        showErrors();
    }