public static function PHPUnit_Framework_Assert::fileExists

Returns a PHPUnit_Framework_Constraint_FileExists matcher object.

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_Constraint_FileExists

5 calls to PHPUnit_Framework_Assert::fileExists()
Framework_AssertTest::testAssertThatFileExists in drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::fileExists
Framework_ConstraintTest::testConstraintFileExists in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_FileExists @covers PHPUnit_Framework_Assert::fileExists @covers PHPUnit_Framework_Constraint::count @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintFileExists2 in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_FileExists @covers PHPUnit_Framework_Assert::fileExists @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintFileNotExists in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_FileExists @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Assert::fileExists @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintFileNotExists2 in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_FileExists @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Assert::fileExists @covers PHPUnit_Framework_TestFailure::exceptionToString

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function fileExists() {
  return new PHPUnit_Framework_Constraint_FileExists();
}