/** * Stops all sessions, that might have started. * * @return void */ protected function tearDown() { parent::tearDown(); if ($this->session !== null) { $this->session->reset(); } }
public function testReset() { $this->driver->expects($this->once())->method('reset'); $this->session->reset(); }
/** * Clean up Kernel usage in this test. */ protected function tearDown() { $this->session->reset(); parent::tearDown(); }