public function testAdd() { $bag = new ParameterBag(array( 'foo' => 'bar', )); $bag ->add(array( 'bar' => 'bas', )); $this ->assertEquals(array( 'foo' => 'bar', 'bar' => 'bas', ), $bag ->all()); }