@Test
public void shouldCheckIfParameterExists() {

    // given
    database().withParameter("parameter").build();
    SimpleJdbcRepository repository = get(SimpleJdbcRepository.class);
    QueryRunner runner = queryRunner();
    // when
    boolean exists = repository.parameterExists(runner, "parameter");
    runner.close();
    // then
    assertThat(exists).isTrue();
}