@Test
public void shouldReturnNullWhenParameterNotFound() {

    SimpleJdbcRepository repository = get(SimpleJdbcRepository.class);
    QueryRunner runner = queryRunner();
    // when
    Parameter metadata = repository.getParameterMetadata(runner, "unknownParameter");
    runner.close();
    // then
    assertThat(metadata).isNull();
}