You are here

public function ParameterBagTest::testKeys in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/ParameterBagTest.php, line 35

Class

ParameterBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testKeys() {
  $bag = new ParameterBag(array(
    'foo' => 'bar',
  ));
  $this
    ->assertEquals(array(
    'foo',
  ), $bag
    ->keys());
}