public function testCanRespondToAjax2ViewRequestForCSS()
{
$this->request = $this->prepareHttpRequest('ajax/view/css/styles.css', 'GET', [], 2);
$this->createService();
$this->route();
$response = _elgg_services()->responseFactory->getSentResponse();
$this->assertInstanceOf(Response::class, $response);
$this->assertEquals(ELGG_HTTP_OK, $response->getStatusCode());
$this->assertContains('application/json', $response->headers->get('Content-Type'));
$output = json_encode(['value' => file_get_contents($this->viewsDir . '/default/styles.css'), '_elgg_msgs' => (object) [], '_elgg_deps' => []], ELGG_JSON_ENCODING);
$this->assertEquals($output, $response->getContent());
}