public function testGetMatchedParamReturnsDefaultValueIfParameterIsNotMatched() { $route = new Route('foo', 'foo [<bar>]'); $matches = $route->match(['foo']); $this->assertNull($route->getMatchedParam('bar')); }