/** * Test toJson() * * @return void */ public function testJson() { $accountType = new AccountType(); $jsonString = $accountType->toJson(); self::assertStringStartsWith('{"contactEmail":null', $jsonString); self::assertStringEndsWith('"total":null,"usage":null}', $jsonString); }