public function testCanScanPathAndGetResult() { $scanner = new Scanner(new JsonResponse()); $scanResult = $scanner->scan($this->sampleDirPath); $this->assertTrue($this->isValidJson($scanResult)); }