@Test
public void testPoolOptionsDefaults() {

    assertFalse(properties.getPool().isEnabled());
    assertTrue(properties.getPool().isBlockIfSessionPoolIsFull());
    assertTrue(properties.getPool().isUseAnonymousProducers());
    assertFalse(properties.getPool().isUseProviderJMSContext());
    assertEquals(1, properties.getPool().getMaxConnections());
    assertEquals(500, properties.getPool().getMaxSessionsPerConnection());
    assertEquals(0, properties.getPool().getExplicitProducerCacheSize());
    assertEquals(30000, properties.getPool().getConnectionIdleTimeout().toMillis());
    assertEquals(-1, properties.getPool().getConnectionCheckInterval().toMillis());
    assertEquals(-1, properties.getPool().getBlockIfSessionPoolIsFullTimeout().toMillis());
}