function assertJsonStringEqualsJsonFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \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
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert/ Functions.php, line 860
Code
function assertJsonStringEqualsJsonFile($expectedFile, $actualJson, $message = '') {
return call_user_func_array('PHPUnit_Framework_Assert::assertJsonStringEqualsJsonFile', func_get_args());
}