Example #1
0
 public function testGettingInvalidWildcard()
 {
     $wildcards = ['foo' => 'hello', 'bar' => 'world'];
     $route = new Route();
     $route->setWildcards($wildcards);
     $this->assertEquals($route->getWildcard('hello'), null);
 }