@Test
public void shouldReturnParameterMetadataWithoutEntries() {

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