artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]); $modelPath = app_path($this->model_name.'.php'); $this->assertFileExists($modelPath); $modelClassContent = "model_name} extends Model { protected \$fillable = ['name', 'description']; } "; $this->assertEquals($modelClassContent, file_get_contents($modelPath)); } }