Server.main(new String[] { } );  Class cl = Class.forName(DB_DRIVER); Database database = (Database) cl.newInstance(); DatabaseManager.registerDatabase(database);  Collection rootCollection = DatabaseManager.getCollection(URI + "/db", "admin", null);  Collection childCollection = rootCollection.getChildCollection(COLLECTION_NAME); if (childCollection == null) { CollectionManagementService cms = (CollectionManagementService) rootCollection.getService("CollectionManagementService", "1.0"); collection = (RemoteCollection) cms.createCollection(COLLECTION_NAME); } else { throw new Exception("Cannot run test because the collection /db/" + COLLECTION_NAME + " already " + "exists. If it is a left-over of a previous test run, please remove it manually."); }
	protected void setUp() throws Exception {		String[] args = {"standalone"};		Server.main(args);		// Thread ??			}