function assertStringEqualsFile

Asserts that the contents of a string is equal to the contents of a file.

@since Method available since Release 3.3.0

Parameters

string $expectedFile:

string $actualString:

string $message:

boolean $canonicalize:

boolean $ignoreCase:

File

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

Code

function assertStringEqualsFile($expectedFile, $actualString, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) {
  return call_user_func_array('PHPUnit_Framework_Assert::assertStringEqualsFile', func_get_args());
}