You are here

public function FrozenParameterBagTest::testRemove in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/ParameterBag/FrozenParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\FrozenParameterBagTest::testRemove()

@expectedException \LogicException

File

vendor/symfony/dependency-injection/Tests/ParameterBag/FrozenParameterBagTest.php, line 64

Class

FrozenParameterBagTest

Namespace

Symfony\Component\DependencyInjection\Tests\ParameterBag

Code

public function testRemove() {
  $bag = new FrozenParameterBag(array(
    'foo' => 'bar',
  ));
  $bag
    ->remove('foo');
}