  @Test
  public void shouldGenerateMultipleKeysFromContextAndVariablesWithList() {

    final String expression = "T(com.github.alturkovic.lock.key.SpelKeyGeneratorTest).generateKeys(#message)";
    assertThat(keyGenerator.resolveKeys("lock_", expression, service, sendMessageMethod, new Object[]{"p_"}))
      .containsExactly("lock_p_first", "lock_p_second");
  }