You are here

public function FrozenParameterBagTest::testAdd in Zircon Profile 8

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

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

File

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

Class

FrozenParameterBagTest

Namespace

Symfony\Component\DependencyInjection\Tests\ParameterBag

Code

public function testAdd() {
  $bag = new FrozenParameterBag(array());
  $bag
    ->add(array());
}