@Test
public void shouldFailForNull() {

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