public function testPatternDoesNotMatchTrailing() { $urlHandler = new Common\RequestParser\Pattern(array('pattern' => '/foo/{foo}')); $urlHandler->parse('/foo/23/bar'); }