DrawMyAttention\ResourceGenerator\Commands\ResourceGeneratorTest::it_generates_a_new_model PHP Method

it_generates_a_new_model() public method

    public function it_generates_a_new_model()
    {
        // When I run php artisan make:resource Lion
        $this->artisan('make:resource', ['name' => 'Lion']);
        // Then I see a new Model has been created in the App namespace
        // And it has the correct name
        $this->seeFileWasCreated(app_path('/Lion.php'));
        $this->clearGeneratedFiles('Lion');
    }