@Test
public void shouldAddLevelToParameterInRepositoryAndInvalidateCacheForThisParameter() {

    // given
    Level level = new SimpleLevel();
    // when
    paramEditor.addLevel(REPOSITORY_NAME, "parameter", level);
    // then
    verify(editableRepository).addLevel("parameter", level);
    verify(cache).invalidate("parameter");
}