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); }
public function testGetLifetime() { $lifetime = 3600; $this->sessionConfigMock->expects(static::once())->method('getCookieLifetime')->willReturn($lifetime); $this->assertEquals($lifetime, $this->model->getLifetime()); }