Asserts that a file exists physically on disk.
function assertFileExists($file, $message = NULL) {
$message = isset($message) ? $message : t('File %file exists on the disk.', array(
'%file' => $file->uri,
));
$this
->assertTrue(is_file($file->uri), $message);
}