File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/StreamedResponseTest.php, line 92
Class
- StreamedResponseTest
Namespace
Symfony\Component\HttpFoundation\Tests
Code
public function testGetContent() {
$response = new StreamedResponse(function () {
echo 'foo';
});
$this
->assertFalse($response
->getContent());
}