/** * * @depends testConstructor */ public function testInsertData() { $aData = array('one' => 1, 'two' => 2); $oMongo = new \Lampcms\Mongo\DB($this->Registry->Ini); $res = $oMongo->insertData($this->COLLNAME, $aData); $this->assertTrue($res instanceof \MongoId); }