public function setUp() { $this->dm = \Doctrine\ODM\CouchDB\DocumentManager::create(array('dbname' => 'test')); }