@Test
public void testGetConnectionSimulateInterruptedExceptionWithNullReturn()
throws NoSuchFieldException, IllegalAccessException,
InterruptedException {

	reset(mockPartition, mockConnectionHandles, mockConnection);
	expect(mockPartition.isUnableToCreateMoreTransactions()).andReturn(true).once();
	expect(mockPartition.getFreeConnections()).andReturn(mockConnectionHandles).anyTimes();
	testClass.nullOnConnectionTimeout = true;
	expect(mockConnectionHandles.poll()).andReturn(null).once();
	expect(mockConnectionHandles.poll(Long.MAX_VALUE, TimeUnit.MILLISECONDS)).andThrow(new InterruptedException()).once();
	replay(mockPartition, mockConnectionHandles, mockConnection);
	try{
		assertNull(testClass.getConnection());
	} catch (SQLException e){
		fail("Should not have throw an SQL Exception");
		// do nothing
	}
	verify(mockPartition, mockConnectionHandles, mockConnection);
}