public function ParameterBagTest::testAll

@covers Symfony\Component\HttpFoundation\ParameterBag::all

1 call to ParameterBagTest::testAll()
ParameterBagTest::testConstructor in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/ParameterBagTest.php
@covers Symfony\Component\HttpFoundation\ParameterBag::__construct

File

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

Class

ParameterBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testAll() {
  $bag = new ParameterBag(array(
    'foo' => 'bar',
  ));
  $this
    ->assertEquals(array(
    'foo' => 'bar',
  ), $bag
    ->all(), '->all() gets all the input');
}