public function testSetGetRouteInfo() { $routeInfo = $this->prophesize(RouteInfoInterface::class); $this->event->setRouteInfo($routeInfo->reveal()); $this->assertInstanceOf(RouteInfoInterface::class, $this->event->getRouteInfo()); }