public function testGetPath() { $path = 'test_path'; $this->sessionConfigMock->expects($this->once())->method('getCookiePath')->will($this->returnValue($path)); $result = $this->model->getPath(); $this->assertEquals($path, $result); }