Example #1
0
 public function testSerializeDeserialize()
 {
     $a1 = $this->address;
     $a2 = new Address();
     $a2->fromJson($a1->toJson());
     $this->assertEquals($a1, $a2);
 }