@Test
@SuppressWarnings("unchecked")
public void shouldAddMultipleEntriesToParameterInOneTransactionAndInvalidateCacheForThisParameter() {

    // given
    List<MapEntry> entries = Arrays.asList(new MapEntry());
    // when
    paramEditor.addEntries(REPOSITORY_NAME, "parameter", entries);
    // then
    verify(editableRepository).addEntries(eq("parameter"), anyCollection());
    verify(cache).invalidate("parameter");
}