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