@Test
public void shouldRemoveLevelFromParameterAndInvalidateCacheForThisParameter() {

    // given
    LevelKey levelKey = new SimpleLevelKey("key");
    // when
    paramEditor.deleteLevel(REPOSITORY_NAME, "parameter", levelKey);
    // then
    verify(editableRepository).deleteLevel("parameter", levelKey);
    verify(cache).invalidate("parameter");
}