You are here

public function JsonResponseTest::testGetEncodingOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 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

JsonResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetEncodingOptions() {
  $response = new JsonResponse();
  $this
    ->assertEquals(JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT, $response
    ->getEncodingOptions());
}