eXistHome = System.getProperty("exist.home");
try { eXistHome = Configuration.getExistHome().getAbsolutePath(); } catch (DatabaseConfigurationException e) { throw new IllegalStateException(e.toString()); }
    protected void setUp() {        System.out.println(">>> setUp");                if(eXistHome==null){            eXistHome = System.getProperty("exist.home");        }                if(pool==null){            pool = startDB();        }                if(validator==null){            validator = new Validator(pool);        }                if(dbResources==null){            dbResources = validator.getDatabaseResources();        }                if(dt==null){            dt = new DatabaseTools(pool);        }                try {            baseURI = new XmldbURI("xmldb:exist:///db");        } catch (URISyntaxException ex) {            ex.printStackTrace();            fail(ex.getMessage());        }                System.out.println("<<<\n");    }