You are here

public function FrozenParameterBagTest::testClear in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\FrozenParameterBagTest::testClear()

@covers Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::clear @expectedException \LogicException

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php, line 35

Class

FrozenParameterBagTest

Namespace

Symfony\Component\DependencyInjection\Tests\ParameterBag

Code

public function testClear() {
  $bag = new FrozenParameterBag(array());
  $bag
    ->clear();
}