/** * Test "remove" * * @return void */ public function testRemove() { $bag = new ParamBag(); $bag->set('foo', 'bar'); $bag->set('bar', 'baz'); $bag->remove('foo'); $this->assertEquals(['bar' => ['baz']], $bag->getArrayCopy()); }