public function testGettingContentThrowsExceptionForEmptyFile() { $scanner = new Scanner(new JsonResponse()); $this->callProtectedMethod($scanner, 'getScannedContent', [$this->emptyScanSample]); }