get('/courses')->assertOk()->assertSee('Python'); } public function test_unknown_course_is_404() { $this->get('/courses/nope')->assertNotFound(); } }