You are here

function assertJsonStringEqualsJsonString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertJsonStringEqualsJsonString()

Asserts that two given JSON encoded objects or arrays are equal.

Parameters

string $expectedJson:

string $actualJson:

string $message:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 875

Code

function assertJsonStringEqualsJsonString($expectedJson, $actualJson, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertJsonStringEqualsJsonString', func_get_args());
}