src/Console/Commands/MakeSeederCommand.php
protected function createDatabaseSeedersFolder()
    {
        $path = getcwd().'/tests';
        if (! file_exists($path)) {
            throw new FileNotFoundException('Tests folder not found.');
        }

        if (! file_exists($path.'/DatabaseSeeders')) {
            mkdir($path.'/DatabaseSeeders');
        }
    }
protected function createDatabaseSeedersFolder()
    {
        $path = getcwd().'/tests';
        if (! file_exists($path)) {
            throw new FileNotFoundException('Tests folder not found.');
        }

        if (! file_exists($path.'/DatabaseSeeders')) {
            mkdir($path.'/DatabaseSeeders');
        }
    }
Creates the database seeders folder if it doesn't exist.

@throws FileNotFoundException