public function testSerializationDeserialization() { $obj = new PatchRequest(self::getJson()); $this->assertNotNull($obj); $this->assertNotNull($obj->getPatches()); return $obj; }