public function JsonResponseTest::testSetCallbackInvalidIdentifier 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::testSetCallbackInvalidIdentifier()
@expectedException \InvalidArgumentException
File
- vendor/
symfony/ http-foundation/ Tests/ JsonResponseTest.php, line 191
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetCallbackInvalidIdentifier() {
$response = new JsonResponse('foo');
$response
->setCallback('+invalid');
}