public function setMethodParameters($methodParameters) { $this->methodParameters = $methodParameters; return $this; }
public function testSetGetMethodParameters() { $rb = new RequestBag(); $rb->setMethodParameters(['data' => 'foo']); $this->assertSame(['data' => 'foo'], $rb->getMethodParameters()); }