public function testRendererAbsoluteUrl()
{
$url = 'http://phoenix-rises.fm/foo/bar';
$request = new Request();
$options = array('foo' => 'bar');
$expectedReturn = '/_fragment?foo=bar';
$this->innerRenderer->expects($this->once())->method('render')->with($url, $request, $options)->will($this->returnValue($expectedReturn));
$renderer = new DecoratedFragmentRenderer($this->innerRenderer);
$this->assertSame($expectedReturn, $renderer->render($url, $request, $options));
}