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

createCookieFromRawReturnsNullIfBasicNameOrValueAreNotSatisfied() public method

    public function createCookieFromRawReturnsNullIfBasicNameOrValueAreNotSatisfied()
    {
        $this->assertNull(Cookie::createFromRawSetCookieHeader('Foobar'), 'The cookie without a = char at all is not discarded.');
        $this->assertNull(Cookie::createFromRawSetCookieHeader('=Foobar'), 'The cookie with only a leading = char, hence without a name, is not discarded.');
    }