@Test
public void shouldSucceedWhenIgnoringCase() throws Exception {

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