public function testPathWithTwoStartingSlashes() {
$routes = $this
->getRoutes('test', new Route('//path-and-not-domain'));
// this must not generate '//path-and-not-domain' because that would be a network path
$this
->assertSame('/path-and-not-domain', $this
->getGenerator($routes, array(
'BaseUrl' => '',
))
->generate('test'));
}