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

	mockLogger.error((String)anyObject());
	expectLastCall().once();
	expect(mockConnection.isClosed()).andReturn(false).once();
	expect(mockConnection.getThreadUsingConnection()).andReturn(mockThread).once();
	replay(mockConnection, mockLogger);
	testClass.run();
	verify(mockConnection, mockLogger);
}