@Override
 protected void tearDown() throws Exception {
   if (connection != null) {
     connection.close();
   }
   super.tearDown();
 }
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    connection = createConnection();
    connection.start();
  }
  @Override
  protected void setUp() throws Exception {
    disableWrapper = true;
    bindAddress = "tcp://localhost:0";
    super.setUp();

    connection = createConnection();
    connection.start();
    queue = createQueue();
  }
 @Override
 protected void tearDown() throws Exception {
   BrokerService.disableWrapper = false;
   connection.close();
   super.tearDown();
 }
 @Override
 protected void startBroker() throws Exception {
   super.startBroker();
   bindAddress = newURI("localhost", 0);
 }