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