@Override
    public Reference getReference() throws NamingException {
        return JNDIReferenceFactory.createReference(this.getClass().getName(), this);
    }
@Test(timeout=240000)
    public void testGetReference() throws Exception {
        PooledConnectionFactory factory = createPooledConnectionFactory();
        Reference ref = factory.getReference();
        assertNotNull(ref);
    }