protected function tearDown() { $this->documentRepository = null; $this->indexRepository = null; $this->searchRepository = null; parent::tearDown(); }