channelInfo.put(LogicaSMSChannelAdapter.BINDTYPE, "sync");
channelInfo.put(LogicaSMSChannelAdapter.VALIDATE_SESSION_BEFORE_USE, "false");
LogicaSMSChannelAdapter channelAdapter =
new LogicaSMSChannelAdapter(CHANNEL_NAME, channelInfo);
assertTrue(channelAdapter.sessionPool instanceof SessionPoolImpl);
SessionPoolImpl sessionPool
= ((SessionPoolImpl) channelAdapter.sessionPool);
assertEquals(3, sessionPool.getMaxSize());
assertFalse(sessionPool.isValidatingOnBorrow());
assertNotNull(channelAdapter.sessionValidator);
assertEquals(60000,
channelAdapter.sessionValidator.getValidationInterval());
// Then check that if the session validation interval is missing it