@Test
public void shouldUpdateLevelInParameterAndInvalidateCacheForThisParameter() {

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