public function testEnsuresThatBodyIsAlwaysSet() { $command = new JsonCommand(); $command->setClient(new Client()); $request = $command->prepare(); $this->assertEquals('{}', (string) $request->getBody()); }
protected function process() { parent::process(); // Decode B/BS values when Response processing is enabled if ($this[self::RESPONSE_PROCESSING] == self::TYPE_MODEL) { foreach ($this->result as $key => $value) { $this->result[$key] = self::unmarshalAttributes($value); } } }