You are here

public function Framework_TestCaseTest::testSkipsProvidesMessagesForAllSkippingReasons in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/TestCaseTest.php \Framework_TestCaseTest::testSkipsProvidesMessagesForAllSkippingReasons()

File

vendor/phpunit/phpunit/tests/Framework/TestCaseTest.php, line 486

Class

Framework_TestCaseTest
@since Class available since Release 2.0.0 @covers PHPUnit_Framework_TestCase

Code

public function testSkipsProvidesMessagesForAllSkippingReasons() {
  $test = new RequirementsTest('testAllPossibleRequirements');
  $result = $test
    ->run();
  $this
    ->assertEquals('PHP 99-dev (or later) is required.' . PHP_EOL . 'PHPUnit 9-dev (or later) is required.' . PHP_EOL . 'Operating system matching /DOESNOTEXIST/i is required.' . PHP_EOL . 'Function testFuncOne is required.' . PHP_EOL . 'Function testFuncTwo is required.' . PHP_EOL . 'Extension testExtOne is required.' . PHP_EOL . 'Extension testExtTwo is required.', $test
    ->getStatusMessage());
}