Exemplo n.º 1
0
 public function testSerializeDeserialize()
 {
     $t1 = $this->ccToken;
     $t2 = new CreditCardToken();
     $t2->fromJson($t1->toJson());
     $this->assertEquals($t1, $t2);
 }