get(route('landing', ['any' => '/'])); $response->assertSuccessful() ->assertViewIs('landing'); } #[Test] public function test_exception_handler_with_web_route() { $response = $this->post('/'); $response->assertStatus(405); } }