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

it_creates_a_model_with_the_correct_class_name() public method

    public function it_creates_a_model_with_the_correct_class_name()
    {
        // When I create a new model called 'Animal'.
        $this->runArtisanCommand(ResourceMakeCommand::class, ['name' => 'Animal']);
        // Then the model is created and the model has the correct class name
        $this->seeInFile('class Animal', app_path('/Animal.php'));
        $this->clearGeneratedFiles('Animal');
    }