src/Concerns/MakesAssertions.php
public function assertCookieValue($name, $value, $decrypt = true)
    {
        $actual = $decrypt ? $this->cookie($name) : $this->plainCookie($name);

        PHPUnit::assertEquals(
            $value, $actual,
            "Cookie [{$name}] had value [{$actual}], but expected [{$value}]."
        );

        return $this;
    }
public function assertCookieValue($name, $value, $decrypt = true)
    {
        $actual = $decrypt ? $this->cookie($name) : $this->plainCookie($name);

        PHPUnit::assertEquals(
            $value, $actual,
            "Cookie [{$name}] had value [{$actual}], but expected [{$value}]."
        );

        return $this;
    }
public function assertCookieValue ( $ name , $ value , $ decrypt = true ) { $ actual = $ decrypt ? $ this -> cookie ( $ name ) : $ this -> plainCookie ( $ name ) ; PHPUnit :: assertEquals ( $ value , $ actual , "Cookie [{$name}] had value [{$actual}], but expected [{$value}]." ) ; return $ this ; }
Assert that an encrypted cookie has a given value.

@param  string  $name
@param  string  $value
@param  bool  $decrypt
@return $this
Assert that an encrypted cookie has a given value .