@Test
public void testDoubleClose() throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException, SQLException{

	this.testClass.doubleCloseCheck = true;
	this.testClass.logicallyClosed.set(true);
	this.testClass.doubleCloseException = "fakeexception";
	this.mockLogger.error((String)anyObject(), anyObject());
	expectLastCall().once();
	this.mockPool.releaseConnection((Connection)anyObject());
	expectLastCall().once().andThrow(new SQLException()).once();
	replay(this.mockLogger, this.mockPool);
	this.testClass.close();
}