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