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

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