protected function tearDown() { if ($this->mongo) { $this->mongo->close(); } unset($this->mongo, $this->manager); }