Phpunit4CompatibilityTest.php in Drupal 8
File
core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php
View source
<?php
namespace Drupal\Tests;
class Phpunit4CompatibilityTest extends UnitTestCase {
public function testFrameworkAssertionFailedError() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_AssertionFailedError'));
}
public function testFrameworkConstraintCount() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_Constraint_Count'));
}
public function testFrameworkError() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_Error'));
}
public function FrameworkErrorWarning() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_Error_Warning'));
}
public function testFrameworkException() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_Exception'));
}
public function testFrameworkExpectationFailedException() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_ExpectationFailedException'));
}
public function testFrameworkMockObjectMatcherInvokedRecorder() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_MockObject_Matcher_InvokedRecorder'));
}
public function testFrameworkSkippedTestError() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_SkippedTestError'));
}
public function testFrameworkTestCase() {
$this
->assertTrue(class_exists('\\PHPUnit_Framework_TestCase'));
}
public function testUtilTest() {
$this
->assertTrue(class_exists('\\PHPUnit_Util_Test'));
}
public function testUtilXml() {
$this
->assertTrue(class_exists('\\PHPUnit_Util_XML'));
}
}