示例#1
0
 /**
  * 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);
 }