public function testGetRequest() { $name = 'test.request'; $request = $this->getMockBuilder('Elastification\\Client\\Request\\RequestInterface')->getMock(); /** @noinspection PhpParamsInspection */ $this->requestManager->setRequest($name, $request); $this->assertSame($request, $this->requestManager->getRequest($name)); }
/** * @inheritdoc */ public function getRequest($name) { return $this->requestManager->getRequest($name); }