public function JsonResponseTest::testConstructorEmptyCreatesJsonObject in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/JsonResponseTest.php \Symfony\Component\HttpFoundation\Tests\JsonResponseTest::testConstructorEmptyCreatesJsonObject()
File
- vendor/
symfony/ http-foundation/ Tests/ JsonResponseTest.php, line 18
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testConstructorEmptyCreatesJsonObject() {
$response = new JsonResponse();
$this
->assertSame('{}', $response
->getContent());
}