You are here

public function RequestTest::testGetParameters in Zircon Profile 8

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

File

vendor/symfony/browser-kit/Tests/RequestTest.php, line 30

Class

RequestTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testGetParameters() {
  $request = new Request('http://www.example.com/', 'get', array(
    'foo' => 'bar',
  ));
  $this
    ->assertEquals(array(
    'foo' => 'bar',
  ), $request
    ->getParameters(), '->getParameters() returns the parameters of the request');
}