Ejemplo n.º 1
0
 /**
  * All urls should always be more
  */
 public function testGetAllPaths()
 {
     $unreachablePath = new UnreachablePath();
     $defaultPaths = $unreachablePath->getPaths();
     $allPaths = $unreachablePath->getPaths(true);
     $this->assertGreaterThan($defaultPaths, $allPaths);
     $this->assertContains($defaultPaths[0], $allPaths);
 }
Ejemplo n.º 2
0
 /**
  * Check for unreachable paths
  *
  * @return void
  */
 public function checkUnreachablepath()
 {
     $unreachablePath = new UnreachablePath();
     $this->respond($unreachablePath->getPaths());
 }