@Test
public void shouldFailForInvalidValue() throws Exception {

    EnumListValidator enumListValidator = createAndInitializeValidator(false, false);
    boolean valid = enumListValidator.isValid(Arrays.asList("foo", "xxx"), createContext());
    assertThat(valid, is(false));
}