public function testUrlAttributeGetterAndSetter()
 {
     $bag = new UrlParameterBag();
     $this->assertFalse($bag->hasUrlAttribute('foo'));
     $bag->setUrlAttribute('foo', 'bar');
     $this->assertTrue($bag->hasUrlAttribute('foo'));
     $this->assertEquals('bar', $bag->getUrlAttribute('foo'));
     $bag->removeUrlAttribute('foo');
     $this->assertFalse($bag->hasUrlAttribute('foo'));
     $bag->setUrlAttributes(['foo' => 'bar']);
     $this->assertTrue($bag->hasUrlAttribute('foo'));
     $this->assertEquals(['foo' => 'bar'], $bag->getUrlAttributes());
 }