get(route('landing', ['any' => '/'])); $response->assertSuccessful() ->assertViewIs('landing'); } /** * test return main web view * * @test */ public function testExceptionHandlerWithWebRoute() { $response = $this->post('/'); $response->assertStatus(405); } }