class UnitTest
Hierarchy
- class \Drupal\Tests\UnitTestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Prophecy\PhpUnit\ProphecyTrait, \Drupal\TestTools\Extension\DeprecationBridge\ExpectDeprecationTrait, \Drupal\Tests\RandomGeneratorTrait implements \PHPUnit\Framework\TestCase
- class \Drupal\Tests\Component\Foo\UnitTest implements \Drupal\Tests\UnitTestCase
Expanded class hierarchy of UnitTest
File
-
core/
tests/ PHPStan/ fixtures/ component-tests.php, line 19
Namespace
Drupal\Tests\Component\FooView source
final class UnitTest extends UnitTestCase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.