public function it_generated_correct_file_with_content() { $this->artisan('module:make-controller', ['controller' => 'MyController', 'module' => 'Blog']); $file = $this->finder->get($this->modulePath . '/Http/Controllers/MyController.php'); $this->assertEquals($this->expectedContent(), $file); }