public function testJson() { $dataValid = openFile('./tests/resource/data.json'); $data = new JSON($dataValid); is($dataValid, (string) $data); }