@Test
public void shouldGenerateSingleKeyFromContextAndVariables() {

  assertThat(keyGenerator.resolveKeys("lock_", "#p0", service, sendMessageMethod, new Object[]{"hello"}))
    .containsExactly("lock_hello");
  assertThat(keyGenerator.resolveKeys("lock_", "#a0", service, sendMessageMethod, new Object[]{"hello"}))
    .containsExactly("lock_hello");
  assertThat(keyGenerator.resolveKeys("lock_", "#message", service, sendMessageMethod, new Object[]{"hello"}))
    .containsExactly("lock_hello");
}