public function StreamedResponseTest::testGetContent in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/StreamedResponseTest.php \Symfony\Component\HttpFoundation\Tests\StreamedResponseTest::testGetContent()
File
- vendor/
symfony/ http-foundation/ Tests/ StreamedResponseTest.php, line 108
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetContent() {
$response = new StreamedResponse(function () {
echo 'foo';
});
$this
->assertFalse($response
->getContent());
}