/**
  * Sets the base URL.
  *
  * @param string $baseUrl Base URL for rendering the routes.
  *
  * @return RoutesRenderer
  */
 public function setBaseUrl($baseUrl)
 {
     $this->routeRenderer->setBaseUrl($baseUrl);
     return $this;
 }
 /**
  * @test
  *
  * @covers Cocur\Bundle\BuildBundle\Renderer\RouteRenderer::setBaseUrl()
  * @covers Cocur\Bundle\BuildBundle\Renderer\RouteRenderer::getBaseUrl()
  */
 public function setBaseUrlShouldSetBaseUrl()
 {
     $this->renderer->setBaseUrl('my/');
     $this->assertEquals('/my', $this->renderer->getBaseUrl());
 }