### Question:
MySqlTransactionController extends TransactionController { @Override public void setAutoCommit(boolean autoCommit) { this.autoCommit = autoCommit; } MySqlTransactionController(); @Override boolean canOpenTransaction(); @Override boolean isAutoCommit(); @Override void setAutoCommit(boolean autoCommit);  }### Answer:
@Test public void testSetAutoCommit() throws Exception { TransactionController transactionController = new MySqlTransactionController(); assertTrue(transactionController.isAutoCommit()); transactionController.setAutoCommit(false); assertFalse(transactionController.isAutoCommit()); }