@Test(timeout = 60000)
public void testInstanceOf() throws  Exception {

    PooledConnectionFactory pcf = new PooledConnectionFactory();
    assertTrue(pcf instanceof QueueConnectionFactory);
    assertTrue(pcf instanceof TopicConnectionFactory);
    pcf.stop();
}