src/Factories/ResourceUnitTestFileFactory.php
/**
     * Create a unit test for the resource.
     *
     * @param Resource $resource
     */
Create a unit test for the resource.
@param Resource $resource
Create a unit test for the resource . @param Resource $resource
public static function handle(Resource $resource): void
    {
        Artisan::call('make:test', [
            'name' => "{$resource->singularPascal()}Test",
            '--unit' => true,
        ]);
    }
public static function handle ( Resource $ resource ) : void { Artisan :: call ( 'make:test' , [ 'name' => " { $ resource -> singularPascal ( ) } Test " , '--unit' => true , ] ) ; }
Create a unit test for the resource.
Create a unit test for the resource .