public function setRequestParam($name, $value) { $this->_requestParams[$name] = $value; return $this; }
/** * @group unit */ public function testSetRequestParam() { $bulk = new Bulk($this->_getClient()); $this->assertInstanceOf('Elastica\\Bulk', $bulk->setRequestParam('key', 'value')); }