public function testRestart() { $this->driver->expects($this->at(0))->method('stop'); $this->driver->expects($this->at(1))->method('start'); $this->session->restart(); }