@Test
public void shouldDeleteEntryFromParameterAndInvalidateCacheForThisParameter() {

    // given
    ParameterEntryKey entryKey = new SimpleParameterEntryKey("key");
    // when
    paramEditor.deleteEntry(REPOSITORY_NAME, "parameter", entryKey);
    // then
    verify(editableRepository).deleteEntry("parameter", entryKey);
    verify(cache).invalidate("parameter");
}