Nwidart\Modules\tests\Commands\GenerateMailCommandTest::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-mail', ['name' => 'SomeMail', 'module' => 'Blog']);
        $file = $this->finder->get($this->modulePath . '/Emails/SomeMail.php');
        $this->assertEquals($this->expectedContent(), $file);
    }