public function testFakeToJson() { $fakeJson = $this->fakeGenerator->fake('fake1')->toJson(); $this->assertThat($fakeJson, $this->isJson()); }