public function testSerializationDeserialization()
{
$obj = new Patch(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getOp());
$this->assertNotNull($obj->getPath());
$this->assertNotNull($obj->getValue());
$this->assertNotNull($obj->getFrom());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}