/** * Tests that Container::setParameter() in a frozen case works properly. * * @covers ::setParameter() * * @expectedException \BadMethodCallException */ public function test_setParameter_frozenContainer() { $this->container->setParameter('some_config', 'new_value'); }