Neos\Flow\Tests\Unit\Http\CookieTest::createCookieFromRawAssumesDefaultPathIfNoLeadingSlashIsPresent PHP Méthode

createCookieFromRawAssumesDefaultPathIfNoLeadingSlashIsPresent() public méthode

    public function createCookieFromRawAssumesDefaultPathIfNoLeadingSlashIsPresent()
    {
        $cookie = Cookie::createFromRawSetCookieHeader('ckName=someValue; Path=foo');
        $this->assertEquals('/', $cookie->getPath());
    }