@Test
public void testMaybeSignalForMoreConnections() throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException{

	expect(mockPartition.isUnableToCreateMoreTransactions()).andReturn(false).once();
	expect(mockPartition.getFreeConnections()).andReturn(mockConnectionHandles).anyTimes();
	//		expect(mockConnectionHandles.size()).andReturn(1).anyTimes();
	expect(mockPartition.getAvailableConnections()).andReturn(1).anyTimes();
	expect(mockPartition.getMaxConnections()).andReturn(10).anyTimes();
	BlockingQueue<Object> bq = new ArrayBlockingQueue<Object>(1);
	expect(mockPartition.getPoolWatchThreadSignalQueue()).andReturn(bq).anyTimes();
	//		mockPartition.lockAlmostFullLock();
	//		expectLastCall().once();
	//		mockPartition.almostFullSignal();
	//		expectLastCall().once();
	//		mockPartition.unlockAlmostFullLock();
	//		expectLastCall().once();
	replay(mockPartition, mockConnectionHandles);
	Method method = testClass.getClass().getDeclaredMethod("maybeSignalForMoreConnections", ConnectionPartition.class);
	method.setAccessible(true);
	method.invoke(testClass, new Object[]{mockPartition});
	verify(mockPartition, mockConnectionHandles);
}