public function testGetDb() { $db = $this->phactory->getDb(); $this->assertInstanceOf('MongoDB', $db); }