Asserts that a file does not exist.
@since Method available since Release 3.0.0
string $filename:
string $message:
public static function assertFileNotExists($filename, $message = '') {
if (!is_string($filename)) {
throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'string');
}
$constraint = new PHPUnit_Framework_Constraint_Not(new PHPUnit_Framework_Constraint_FileExists());
self::assertThat($filename, $constraint, $message);
}