artisan('make:crud', ['name' => $this->modelName, '--no-interaction' => true]); $routeWebPath = base_path('routes/web.php'); $this->assertFileExists($routeWebPath); $routeWebFileContent = "assertEquals($routeWebFileContent, file_get_contents($routeWebPath)); } }