You are here

public function ParameterBagTest::testGetDeepWithInvalidPaths 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::testGetDeepWithInvalidPaths()

@dataProvider getInvalidPaths @expectedException \InvalidArgumentException

File

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

Class

ParameterBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetDeepWithInvalidPaths($path) {
  $bag = new ParameterBag(array(
    'foo' => array(
      'bar' => 'moo',
    ),
  ));
  $bag
    ->get($path, null, true);
}