@Test
public void shouldDeleteGivenEntriesFromParameterInSingleTransactionAndInvalidateCacheForThisParameter() {

    // given
    List<ParameterEntryKey> entryKeys = Arrays.asList((ParameterEntryKey) new SimpleParameterEntryKey("key"));
    // when
    paramEditor.deleteEntries(REPOSITORY_NAME, "parameter", entryKeys);
    // then
    verify(editableRepository).deleteEntries("parameter", entryKeys);
    verify(cache).invalidate("parameter");
}