assertInstanceOf(EnvironmentChecker::class, $controller->index($request)); } public function testHealthDoesNotIncludeDetails() { $controller = new DevHealthController(); $request = new HTTPRequest('GET', 'example.com'); $response = $controller->index($request)->index(); $this->assertFalse(strpos($response->getBody(), '')); } }