### Question:
PooledConnectionFactory extends org.apache.activemq.jms.pool.PooledConnectionFactory implements JNDIStorableInterface, Service { @Override public Reference getReference() throws NamingException { return JNDIReferenceFactory.createReference(this.getClass().getName(), this); } PooledConnectionFactory();  PooledConnectionFactory(ActiveMQConnectionFactory activeMQConnectionFactory);  PooledConnectionFactory(String brokerURL); @Override void setProperties(Properties properties); @Override Properties getProperties(); @Override Reference getReference(); static final String POOL_PROPS_PREFIX; }### Answer:
@Test(timeout=240000) public void testGetReference() throws Exception { PooledConnectionFactory factory = createPooledConnectionFactory(); Reference ref = factory.getReference(); assertNotNull(ref); }