@Test
public void shouldAppendEntriesToExistingParameters() {

    // given
    database().withParameter("parameter").withLevels("parameter", 1).withParameterEntries("parameter", 1).build();
    ParameterEntry[] entries = new ParameterEntry[]{parameterEntry().withLevels("A").build()};
    JdbcParamRepository repository = get(JdbcParamRepository.class);
    // when
    repository.writeParameterEntries("parameter", Arrays.asList(entries));
    // then
    assertDatabase().hasParameter("parameter").hasEntriesForParameter("parameter", 2).close();
}