private function assertCookieValue(Response $response, $expectedValue) { $cookie = $this->getCookie($response); $this->assertNotNull($cookie); $this->assertEquals($expectedValue, $cookie->getValue()); }