@Test
public void initPoolTest() throws Exception {

    String dbURL = "local:./target/testdb";
    String user = "admin";
    String password = "admin";
    Map map = new HashMap();
    JsonValue completeConfig = new JsonValue(map);
    int minSize = 5;
    int maxSize = 20;
    ODatabaseDocumentPool pool = DBHelper.getPool(dbURL, user, password, minSize, maxSize, completeConfig, true);
    assertNotNull(pool);
    ODatabaseDocumentTx db = pool.acquire(dbURL, user, password);
    assertNotNull(db);
    db.close();
    DBHelper.closePools();
    
    // RC9 Requires an explicit shutdown call to cleanly exit the VM
    OServer server = OServerMain.create();
    server.shutdown();
}