@dataProvider getMatchData
public function testMatch($name, $pathinfo, $server, $expect) {
$collection = new RouteCollection();
$context = new RequestContext();
$matcher = new ApacheUrlMatcher($collection, $context);
$_SERVER = $server;
$result = $matcher
->match($pathinfo, $server);
$this
->assertSame(var_export($expect, true), var_export($result, true));
}