예제 #1
0
 public function testRequestRootIsAndIndex()
 {
     /*//
     	testing that requests for / and /index are both reported as /index
     	//*/
     $r1 = new Nether\Avenue\Router(static::$RequestData['Root']);
     $r2 = new Nether\Avenue\Router(static::$RequestData['Index']);
     (new Verify('path / request runs as /index', $r1->GetPath()))->equals('/index');
     (new Verify('path /index runs as /index', $r2->GetPath()))->equals('/index');
     return;
 }