public function testEndPoint() { $request = $this->createRequest(); $this->assertNull($request->getEndPoint()); $this->assertSame($request, $request->setEndPoint('endPoint')); $this->assertEquals('endPoint', $request->getEndPoint()); $request = new Request('', '', '', '', 'endPointBis'); $this->assertSame('endPointBis', $request->getEndPoint()); }
/** * Get the request logger * * @return LoggerInterface */ public function getLogger() { return $this->request->getLogger(); }