public function testMatchWithRelativeAndPrefixedAttachmentUsingBasedRequest()
{
$request = new Request(array('base' => '/request/base'));
Router::attach('tests', array('absolute' => false, 'host' => 'tests.mysite.com', 'scheme' => 'http://', 'prefix' => 'prefix'));
Router::scope('tests');
$result = Router::match('/controller/action/hello', $request);
$this->assertIdentical('/request/base/prefix/controller/action/hello', $result);
}