### Question:
ExampleSqlExecutionListener extends SQLExecutionAdapter { @Override public String statementExecuting(String sql) { _messageHandler.showMessage("statementExecuting: "+sql); return sql; } ExampleSqlExecutionListener(IMessageHandler messageHandler); @Override void statementExecuted(String sql); @Override String statementExecuting(String sql); void executionFinished();  }### Answer:
@Test public void testStatementExecuting() { final String sqlToTest = "select * from testtable"; String result = classUnderTest.statementExecuting(sqlToTest); assertEquals(sqlToTest, result); }