@Test
public void shouldReturnParameterBatchLoader() {

    // given
    database().withParameter("parameter").withLevels("parameter", 5).withParameterEntries("parameter", 5).build();
    JdbcParamRepository repository = get(JdbcParamRepository.class);
    // when
    ParameterBatchLoader loader = repository.batchLoad("parameter");
    // then
    assertThat(loader).hasEntryLoader().hasMetadataFor("parameter").hasMetadataWithLevels(5);
}