public function testGetWindowName() { $this->driver->expects($this->once())->method('getWindowName')->will($this->returnValue('name')); $this->assertEquals('name', $this->session->getWindowName()); }