public function testGetSet()
{
$routeReference = new RouteReference('foo');
$request = new Request();
$event = new RouteReferenceGenerationEvent($routeReference, $request);
$this->assertSame($routeReference, $event->getRouteReference());
$this->assertSame($request, $event->getRequest());
$newRouteReference = new RouteReference('bar');
$event->setRouteReference($newRouteReference);
$this->assertSame($newRouteReference, $event->getRouteReference());
}