public function tearDown() { parent::tearDown(); $this->inject($this->contextFactory, 'contextInstances', []); }