addSendTestExpectations(perThreadExpectations, matcherTwo, 5);
addSendTestExpectations(perThreadExpectations, matcherThree, 2);
addSendTestExpectations(perThreadExpectations, matcherFour, 15);
addSendTestExpectations(perThreadExpectations, matcherFive, 11);
PoolableSessionFactoryMock sessionFactoryMock =
sessionFactoryWrapper.getMockedObject();
final Session sessionOne = sessionFactoryWrapper.makeRealSession();
if (onPoolExhaustion == SessionPoolImpl.WHEN_EXHAUSTED_GROW) {
// If the pool should grow when exhausted then basically the max