public function testIsImmutable()
{
$bag = new ParameterBag(['foo' => $std = new \stdClass()]);
// Mutate injected object
$std->foo = 'bar';
// Mutate retrieved object
$bag->get('foo')->foo = 'baz';
$this->assertEquals(new ParameterBag(['foo' => new \stdClass()]), $bag);
}