public function JsonResponseTest::testGetEncodingOptions 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::testGetEncodingOptions()
File
- vendor/
symfony/ http-foundation/ Tests/ JsonResponseTest.php, line 169
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetEncodingOptions() {
$response = new JsonResponse();
$this
->assertEquals(JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT, $response
->getEncodingOptions());
}