/** * Test MongaPersistent::collection() * * @group model * @group monga */ public function testCollection() { $this->assertInstanceOf('Tacit\\Model\\Monga\\MongaCollection', MongaPersistentObject::collection($this->fixture)); }
protected function tearDown() { MongaPersistentObject::collection($this->fixture)->truncate(); parent::tearDown(); }