@Test
public void shouldPassArgumentsToDatabaseQuery() throws Throwable {

  assertThat(databaseQueryFunction(databaseSupplier, CURSOR_STRING_FUNCTION)
          .apply(sqlRequest()
              .sql(SQL_QUERY_FOR_ARGUMENT)
              .arguments("value2").compile()).get(),
      contains("value2"));
}