public function testOverriddenRoute() {
$collection = new RouteCollection();
$collection
->add('foo', new Route('/foo'));
$collection
->add('foo', new Route('/foo1'));
$this
->assertEquals('/foo1', $collection
->get('foo')
->getPath());
}