KamranAhmed\Smasher\ScannerTest::testCanProbePathAndGenerateArrayOfContent PHP Method

testCanProbePathAndGenerateArrayOfContent() public method

    public function testCanProbePathAndGenerateArrayOfContent()
    {
        $scanner = new Scanner(new JsonResponse());
        $output = [];
        $this->callProtectedMethod($scanner, 'probe', [$this->sampleDirPath, &$output]);
        // Verifying that a valid array is returned by checking
        // Orchestrate a better way to verify this array.
        $this->assertTrue(isset($output['sample-path']['child-item']['grand-child']['child-file.md']));
    }