public function testGetSetCurrentUri() { $this->addChildWithExternalUrl(); $this->assertNull($this->menu->getCurrentUri()); $this->menu->setCurrentUri('http://symfony-reloaded.org/'); $this->assertEquals('http://symfony-reloaded.org/', $this->menu->getCurrentUri()); $this->assertEquals('http://symfony-reloaded.org/', $this->menu['child']->getCurrentUri()); }