@Test
public void shouldFailForEmptyString() {

    EnumValidator enumValidator =  createAndInitializeValidator(true, false);
    boolean valid = enumValidator.isValid("", null);
    assertThat(valid, is(false));
}