@covers Symfony\Component\HttpFoundation\ParameterBag::replace
public function testReplace() {
$bag = new ParameterBag(array(
'foo' => 'bar',
));
$bag
->replace(array(
'FOO' => 'BAR',
));
$this
->assertEquals(array(
'FOO' => 'BAR',
), $bag
->all(), '->replace() replaces the input with the argument');
$this
->assertFalse($bag
->has('foo'), '->replace() overrides previously set the input');
}