コード例 #1
0
ファイル: AddressTest.php プロジェクト: mayoalexander/fl-two
 public function testSerializeDeserialize()
 {
     $a1 = $this->address;
     $a2 = new Address();
     $a2->fromJson($a1->toJson());
     $this->assertEquals($a1, $a2);
 }