Example #1
0
 /**
  * Route should store a reference to the callable
  * regular function (for PHP 5 < 5.3)
  */
 public function testRouteSetsCallableAsString()
 {
     $route = new Route('/foo/bar', 'testCallable');
     $this->assertEquals('testCallable', $route->callable());
 }