@Override
 protected void setUp() throws Exception {
   super.setUp();
   pollerExecutor =
       Executors.newCachedThreadPool(
           new HornetQThreadFactory(
               "HornetQ-AIO-poller-pool" + System.identityHashCode(this),
               false,
               this.getClass().getClassLoader()));
   executor = Executors.newSingleThreadExecutor();
 }
 @Override
 @After
 public void tearDown() throws Exception {
   destroy(buffer);
   if (controller != null) {
     try {
       controller.close();
     } catch (Exception e) {
       // ignored
     }
   }
   executor.shutdown();
   pollerExecutor.shutdown();
   super.tearDown();
 }
 @Override
 protected void tearDown() throws Exception {
   executor.shutdown();
   pollerExecutor.shutdown();
   super.tearDown();
 }