public void test_nonXA() throws NamingException, JMSException, ConnectionException {
int MAX_SESSIONS_PER_CONN = 2;
jndiEnv.put(JMSEpr.MAX_SESSIONS_PER_CONNECTION, Integer.toString(MAX_SESSIONS_PER_CONN));
MockJndiContextHandler.objects.put("ConnectionFactory", new MockJMSConnectionFactory(MAX_SESSIONS_PER_CONN));
JmsConnectionPool connPool = new JmsConnectionPool(jndiEnv);
List<JmsConnectionPool.JmsSessionPool> sessPools = connPool.getSessionPools();
assertEquals(20, connPool.getMaxSessions());
assertEquals(MAX_SESSIONS_PER_CONN, connPool.getMaxSessionsPerConnection());