@Test
public void shouldSucceedWhenIgnoringCase() throws Exception {

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