Ejemplo n.º 1
0
 public function testSetAll()
 {
     $bag = new ParameterBag(array('a' => 'ValueA', 'b' => 'ValueB'));
     $bag->setAll(array('b' => 'ValueB2', 'c' => 'ValueC'));
     $this->assertEquals(array('a' => 'ValueA', 'b' => 'ValueB2', 'c' => 'ValueC'), $bag->all());
 }