public function StreamedResponseTest::testCreate 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::testCreate()
File
- vendor/
symfony/ http-foundation/ Tests/ StreamedResponseTest.php, line 114
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testCreate() {
$response = StreamedResponse::create(function () {
}, 204);
$this
->assertInstanceOf('Symfony\\Component\\HttpFoundation\\StreamedResponse', $response);
$this
->assertEquals(204, $response
->getStatusCode());
}