Example #1
0
 @After
 public void cleanup() throws IOException {
   if (reuseQueue) {
     queue.clear();
   } else {
     queue.dispose();
   }
 }
Example #2
0
 @AfterClass
 public static void cleanupClass() throws IOException {
   if (queue != null) {
     queue.dispose();
   }
 }