function Phpunit4CompatibilityTest::FrameworkErrorWarning

Tests existence of \PHPUnit_Framework_Error_Warning.

File

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

Class

Phpunit4CompatibilityTest
Tests existence of the PHPUnit4 backward compatibility classes.

Namespace

Drupal\Tests

Code

public function FrameworkErrorWarning() {
    $this->assertTrue(class_exists('\\PHPUnit_Framework_Error_Warning'));
}

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