/**
  * @expectedException \Symfony\Component\DependencyInjection\Exception\RuntimeException
  * @expectedExceptionMessage The default value of an env() parameter must be scalar or null, but "array" given to "env(ARRAY_VAR)".
  */
 public function testGetThrowsOnBadDefaultValue()
 {
     $bag = new EnvPlaceholderParameterBag();
     $bag->set('env(ARRAY_VAR)', array());
     $bag->get('env(ARRAY_VAR)');
     $bag->resolve();
 }