/** @test */ public function shouldScanOnlyDirsFromADirRecursively() { $expected = ['AnotherDir' . DIRECTORY_SEPARATOR . 'AnotherDirIntoDir', 'AnotherDir']; $scanned = $this->utils->scanDir($this->testableDir, FileUtils::DIRS, true); $this->assertSame($expected, $scanned); }