public function testGetForRelativePathWithNoLeadingSlash()
{
$url = new Http\Url('http://example.org/my/path?test=1');
$relative = $url->getUrlForRelativePath('sub/path/');
$this->assertEquals($relative->__toString(), 'http://example.org/my/path/sub/path/');
}