public function testSerializeDeserialize() { $fi1 = $this->fi; $fi2 = new FundingInstrument(); $fi2->fromJson($fi1->toJson()); $this->assertEquals($fi1, $fi2); }