use of com.arjuna.ats.internal.jdbc.ConnectionImple in project narayana by jbosstm.
the class ConnectionImpleTest method checkIfConnectionIsClosedWithTransaction.
@Test
public void checkIfConnectionIsClosedWithTransaction() throws Exception {
transactionManager.begin();
ConnectionImple connectionToTest = getConnectionToTest();
// Initialises the connection
connectionToTest.clearWarnings();
connectionToTest.isClosed();
verify(connection, times(2)).isClosed();
}
Aggregations