function assertJsonStringEqualsJsonFile

Asserts that the generated JSON encoded object and the content of the given file are equal.

Parameters

string $expectedFile:

string $actualJson:

string $message:

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 861

Code

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