@Test
public void shouldReturnParameterWithLevelsAndEntries() {

    // given
    database().withParameter("parameter").withParameterEntries("parameter", 5)
            .withLevels("parameter", 4).build();
    SimpleJdbcRepository repository = get(SimpleJdbcRepository.class);
    QueryRunner runner = queryRunner();
    // when
    Parameter parameter = repository.getParameter(runner, "parameter");
    runner.close();
    // then
    assertThat(parameter).hasName("parameter").hasLevels(4).hasEntries(5);
}