/**
  * Test that a call to <code>createDurableConnectionConsumer()</code> method on a <code>
  * QueueConnection</code> throws a <code>javax.jms.IllegalStateException</code>. (see JMS 1.1
  * specs, table 4-1).
  *
  * @since JMS 1.1
  */
 public void testCreateDurableConnectionConsumerOnQueueConnection() {
   try {
     queueConnection.createDurableConnectionConsumer(
         topic, "subscriptionName", "", (ServerSessionPool) null, 1);
     Assert.fail("Should throw a javax.jms.IllegalStateException");
   } catch (javax.jms.IllegalStateException e) {
   } catch (JMSException e) {
     Assert.fail("Should throw a javax.jms.IllegalStateException, not a " + e);
   }
 }