public function fire() { $data = ['name' => $this->argument('name')]; $result = $this->generator->setData($data)->setForce($this->option('force'))->make(); if ($result) { $this->info('Test: ' . $this->composer->getTestPath($this->argument('name')) . ' created'); } else { $this->error('Something went wrong!'); } }