private function areExpectedDirectoriesPresent(): bool
    {
        $actualDirectories = scandir(getcwd(), 0);

        $presentExpectedDirectories = array_intersect($this->expectedDirectories, $actualDirectories);
        sort($this->expectedDirectories);
        sort($presentExpectedDirectories);

        return $this->expectedDirectories === $presentExpectedDirectories;
    }
private function areExpectedDirectoriesPresent(): bool
    {
        $actualDirectories = scandir(getcwd(), 0);

        $presentExpectedDirectories = array_intersect($this->expectedDirectories, $actualDirectories);
        sort($this->expectedDirectories);
        sort($presentExpectedDirectories);

        return $this->expectedDirectories === $presentExpectedDirectories;
    }
private function areExpectedDirectoriesPresent ( ) : bool { $ actualDirectories = scandir ( getcwd ( ) , 0 ) ; $ presentExpectedDirectories = array_intersect ( $ this -> expectedDirectories , $ actualDirectories ) ; sort ( $ this -> expectedDirectories ) ; sort ( $ presentExpectedDirectories ) ; return $ this -> expectedDirectories === $ presentExpectedDirectories ; }
Verifies whether the current folder contains the expected directories.

@return bool
Verifies whether the current folder contains the expected directories .