Neos\Flow\Tests\Unit\Http\CookieTest::createCookieFromRawSetsHttpOnlyIfPresent PHP Method

createCookieFromRawSetsHttpOnlyIfPresent() public method

    public function createCookieFromRawSetsHttpOnlyIfPresent()
    {
        $cookie = Cookie::createFromRawSetCookieHeader('ckName=someValue; HttpOnly; more=nothing');
        $this->assertTrue($cookie->isHttpOnly());
    }