broker.removeCollection(transaction, root);
    protected void tearDown() {        DBBroker broker = null;        try {            broker = pool.get(SecurityManager.SYSTEM_USER);            assertNotNull(broker);                        TransactionManager transact = pool.getTransactionManager();            assertNotNull(transact);            Txn transaction = transact.beginTransaction();            assertNotNull(transaction);                        System.out.println("BasicNodeSetTest#tearDown >>>");                        root = broker.getOrCreateCollection(transaction, XmldbURI.create(DBBroker.ROOT_COLLECTION + "/test"));            assertNotNull(root);            broker.removeCollection(transaction, root);                        transact.commit(transaction);        } catch (Exception e) {            e.printStackTrace();        } finally {            if (pool != null) pool.release(broker);        }        BrokerPool.stopAll(false);        pool = null;        root = null;    }