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

stringRepresentationOfCookieIsValidSetCookieFieldValue() public method

Checks if the Cookie cast to a string equals the expected string which can be used as a value for the Set-Cookie header.
public stringRepresentationOfCookieIsValidSetCookieFieldValue ( Cookie $cookie, string $expectedString ) : void
$cookie Neos\Flow\Http\Cookie
$expectedString string
return void
    public function stringRepresentationOfCookieIsValidSetCookieFieldValue(Cookie $cookie, $expectedString)
    {
        $this->assertEquals($expectedString, (string) $cookie);
    }