@Test public void shouldCommitTransactionOnErrrCommitTransaction() throws Exception { applier.commitTransaction(); verify(queryExecuter).commit(); }
protected void commitTransaction() { try { queryExecuter.commit(); } catch (SQLException e) { throw new RuntimeException(); } }
DirectToDbApplier implements ChangeScriptApplier { protected void commitTransaction() { try { queryExecuter.commit(); } catch (SQLException e) { throw new RuntimeException(); } } }
DirectToDbApplier implements ChangeScriptApplier { protected void commitTransaction() { try { queryExecuter.commit(); } catch (SQLException e) { throw new RuntimeException(); } } DirectToDbApplier(QueryExecuter queryExecuter, DatabaseSchemaVersionManager schemaVersionManager, QueryStatementSplitter splitter); }
DirectToDbApplier implements ChangeScriptApplier { protected void commitTransaction() { try { queryExecuter.commit(); } catch (SQLException e) { throw new RuntimeException(); } } DirectToDbApplier(QueryExecuter queryExecuter, DatabaseSchemaVersionManager schemaVersionManager, QueryStatementSplitter splitter); void apply(List<ChangeScript> changeScript); void begin(); }
DirectToDbApplier implements ChangeScriptApplier { protected void commitTransaction() { try { queryExecuter.commit(); } catch (SQLException e) { throw new RuntimeException(); } } DirectToDbApplier(QueryExecuter queryExecuter, DatabaseSchemaVersionManager schemaVersionManager, QueryStatementSplitter splitter); void apply(List<ChangeScript> changeScript); void begin();  }