Asserts that the contents of a string is equal to the contents of a file.
@since Method available since Release 3.3.0
string $expectedFile:
string $actualString:
string $message:
boolean $canonicalize:
boolean $ignoreCase:
public static function assertStringEqualsFile($expectedFile, $actualString, $message = '', $canonicalize = FALSE, $ignoreCase = FALSE) {
self::assertFileExists($expectedFile, $message);
self::assertEquals(file_get_contents($expectedFile), $actualString, $message, 0, 10, $canonicalize, $ignoreCase);
}