KamranAhmed\Smasher\ScannerTest::setUp PHP Method

setUp() public method

Setup the class for testing
public setUp ( )
    public function setUp()
    {
        $currentDir = __DIR__;
        $this->sampleDirPath = $currentDir . '/data/sample-path';
        $this->invalidDirPath = $currentDir . '/invalid/path/that/does/not/exist';
        $this->outputJsonPath = $currentDir . '/data/output/sample-path.json';
        $this->basePathToPopulate = $currentDir . '/data/output/';
        $this->populatedDir = $currentDir . '/data/output/sample-path';
        $this->populatedFile = $currentDir . '/data/output/sample-path/child-item/grand-child/child-file.md';
        $this->invalidScanSample = $currentDir . '/data/scanned-samples/invalid-scan.md';
        $this->emptyScanSample = $currentDir . '/data/scanned-samples/empty-scan.json';
        $this->sampleJson = $currentDir . '/data/scanned-samples/scanned-json.json';
    }