@Test
public void shouldListAllEntriesForParameter() {

    // given
    database().withParameter("parameter").withParameterEntries("parameter", 5).build();
    ParameterEntryDAO parameterEntryDAO = get(ParameterEntryDAO.class);
    QueryRunner runner = queryRunner();
    // when
    Set<JdbcParameterEntry> entries = parameterEntryDAO.getJdbcParameterEntries(runner, "parameter");
    runner.close();
    // then
    assertThat(entries).hasSize(5);
}