function Phpunit4CompatibilityTest::testFrameworkError

Tests existence of \PHPUnit_Framework_Error.

File

core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php, line 29

Class

Phpunit4CompatibilityTest
Tests existence of the PHPUnit4 backward compatibility classes.

Namespace

Drupal\Tests

Code

public function testFrameworkError() {
    $this->assertTrue(class_exists('\\PHPUnit_Framework_Error'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.