public function testInitialize()
 {
     $bag = new NamespacedAttributeBag();
     $bag->initialize($this->array);
     $this->assertEquals($this->array, $this->bag->all());
     $array = array('should' => 'not stick');
     $bag->initialize($array);
     // should have remained the same
     $this->assertEquals($this->array, $this->bag->all());
 }
 protected function setUp()
 {
     $this->array = array('hello' => 'world', 'always' => 'be happy', 'user.login' => 'drak', 'csrf.token' => array('a' => '1234', 'b' => '4321'), 'category' => array('fishing' => array('first' => 'cod', 'second' => 'sole')));
     $this->bag = new NamespacedAttributeBag('_sf2', '/');
     $this->bag->initialize($this->array);
 }