@Test
public void shouldFailWhenNotIgnoringCase() throws Exception {

    EnumListValidator enumListValidator = createAndInitializeValidator(false, false);
    ConstraintValidatorContext context = createContext();
    boolean valid = enumListValidator.isValid(Collections.singletonList("Foo"), context);
    assertThat(valid, is(false));
}