acknowledgeBatchMethod = sessionDelegate.getMethod("acknowledgeBatch", new Class[] { java.util.List.class });
acknowledgeDeliveriesMethod = sessionDelegate.getMethod("acknowledgeDeliveries", new Class[] { java.util.List.class });
   public void setUp() throws Exception   {      super.setUp();            wf = new TestWireFormat();            Class sessionDelegate = SessionDelegate.class;            Class consumerDelegate = ConsumerDelegate.class;            Class connectionDelegate = ConnectionDelegate.class;            //Session            sendMethod = sessionDelegate.getMethod("send", new Class[] { JBossMessage.class });             acknowledgeMethod = sessionDelegate.getMethod("acknowledge", new Class[] { Ack.class });            acknowledgeBatchMethod = sessionDelegate.getMethod("acknowledgeBatch", new Class[] { java.util.List.class });            cancelDeliveriesMethod = sessionDelegate.getMethod("cancelDeliveries", new Class[] { java.util.List.class });            //TODO - this isn't complete - there are other methods to test                  //Consumer                  moreMethod = consumerDelegate.getMethod("more", null);      //Connection            sendTransactionMethod = connectionDelegate.getMethod("sendTransaction", new Class[] { TransactionRequest.class });            log.debug("setup done");   }