@Test(expected = EvaluationConvertException.class)
public void shouldFailWithExpressionThatEvaluatesInListWithNullValue() {

  keyGenerator.resolveKeys("lock_", "T(java.util.Collections).singletonList(null)", service, sendMessageMethod, new Object[]{"hello"});
  fail("Expected exception with expression that evaluated in a list with a null value");
}