public function testGetRequest() { $request = (new ServerRequest())->withUri(new Uri('/'))->withMethod('GET'); $this->event->setRequest($request); $this->assertInstanceOf(ServerRequest::class, $this->event->getRequest()); }