public function testCanScanPathAndCreateValidResponseFile()
{
$scanner = new Scanner(new JsonResponse());
$scanner->scan($this->sampleDirPath, $this->outputJsonPath);
$this->assertTrue(file_exists($this->outputJsonPath));
$result = file_get_contents($this->outputJsonPath);
$this->assertTrue($this->isValidJson($result));
}