You are here

public function ClientTest::testGetCookieJar in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Tests/ClientTest.php \Symfony\Component\BrowserKit\Tests\ClientTest::testGetCookieJar()

@covers Symfony\Component\BrowserKit\Client::getCookieJar

File

vendor/symfony/browser-kit/Tests/ClientTest.php, line 88

Class

ClientTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testGetCookieJar() {
  $client = new TestClient(array(), null, $cookieJar = new CookieJar());
  $this
    ->assertSame($cookieJar, $client
    ->getCookieJar(), '->getCookieJar() returns the CookieJar');
}