@Test
public void testIsConnectionHandleAliveTriggerException() throws SQLException {


	// Test 2: Same test as testIsConnectionHandleAlive but triggers an exception
	reset(mockConfig, mockConnection, mockDatabaseMetadata, mockResultSet);
	expect(mockConfig.getConnectionTestStatement()).andReturn(null).once();
	expect(mockConnection.getMetaData()).andThrow(new SQLException()).once();
	mockConnection.logicallyClosed = new AtomicBoolean(false);
	replay(mockConfig, mockConnection, mockDatabaseMetadata, mockResultSet);
	assertFalse(testClass.isConnectionHandleAlive(mockConnection));
	verify(mockConfig, mockConnection, mockResultSet,mockDatabaseMetadata);
}