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