### Question:
SQLTransactionExecutionHook implements SQLExecutionHook { @Override public void finishSuccess() { if (null != sqlTransaction) { sqlTransaction.setExecuteStatus(ExecuteStatus.SUCCESS); } }  @Override void start(final RouteUnit routeUnit, final DataSourceMetaData dataSourceMetaData, final boolean isTrunkThread, final Map<String, Object> shardingExecuteDataMap); @Override void finishSuccess(); @Override void finishFailure(final Exception cause);  }### Answer:
@Test public void assertFinishSuccess() { setBranchTransaction(); sqlExecutionHook.finishSuccess(); verify(sqlTransaction).setExecuteStatus(ExecuteStatus.SUCCESS); }