Nwidart\Modules\tests\Commands\GenerateCommandCommandTest::it_generated_correct_file_with_content PHP Method

it_generated_correct_file_with_content() public method

    public function it_generated_correct_file_with_content()
    {
        $this->artisan('module:make-command', ['name' => 'MyAwesomeCommand', 'module' => 'Blog']);
        $file = $this->finder->get($this->modulePath . '/Console/MyAwesomeCommand.php');
        $this->assertEquals($this->expectedContent(), $file);
    }