/** * @test */ public function testSerializationDeserialization() { $errorCopy = new PPOpenIdError(); $errorCopy->fromJson($this->error->toJson()); $this->assertEquals($this->error, $errorCopy); }
/** * @test */ public function testSerializationDeserialization() { $errorCopy = new PPOpenIdError(); $errorCopy->fromJson($this->error->toJson()); $this->assertEquals($this->error, $errorCopy); }