示例#1
0
 public function testHasRouteReturnsTrueWhenRouteIsSet()
 {
     $link = new Link('describedby');
     $link->setRoute('api/docs');
     $this->assertTrue($link->hasRoute());
 }