SPISQLExecutionHook implements SQLExecutionHook { @Override public void start(final String dataSourceName, final String sql, final List<Object> parameters, final DataSourceMetaData dataSourceMetaData, final boolean isTrunkThread, final Map<String, Object> shardingExecuteDataMap) { for (SQLExecutionHook each : sqlExecutionHooks) { each.start(dataSourceName, sql, parameters, dataSourceMetaData, isTrunkThread, shardingExecuteDataMap); } }  @Override void start(final String dataSourceName, final String sql, final List<Object> parameters, 
                      final DataSourceMetaData dataSourceMetaData, final boolean isTrunkThread, final Map<String, Object> shardingExecuteDataMap); @Override void finishSuccess(); @Override void finishFailure(final Exception cause);  }
@Test public void assertStart() { spiSQLExecutionHook.start("ds", "SELECT 1", Collections.emptyList(), null, true, null); assertTrue(SQLExecutionHookFixture.containsAction("start")); }