public void testCommitRollbackWithNoTransaction() throws Exception {
Connection connection = connectionManager.connect().get();
try {
// Test commit with no transaction
try {
connection.commit();
Assert.fail("Not in transaction, commit should have failed");
} catch (DbException e) {
// Pass
}