You are here

public function ParameterBagTest::testAll in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/ParameterBagTest.php \Symfony\Component\HttpFoundation\Tests\ParameterBagTest::testAll()

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

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

File

vendor/symfony/http-foundation/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');
}