public function CookieTest::testGetValue

@covers Symfony\Component\HttpFoundation\Cookie::getValue

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/CookieTest.php, line 60

Class

CookieTest
CookieTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetValue() {
  $value = 'MyValue';
  $cookie = new Cookie('MyCookie', $value);
  $this
    ->assertSame($value, $cookie
    ->getValue(), '->getValue() returns the proper value');
}