You are here

trait TestCompatibilityTrait in Drupal 9

Same name in this branch
  1. 9 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit8/TestCompatibilityTrait.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit8\TestCompatibilityTrait
  2. 9 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit9/TestCompatibilityTrait.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit9\TestCompatibilityTrait

Drupal's forward compatibility layer with multiple versions of PHPUnit.

Hierarchy

  • trait \Drupal\TestTools\PhpUnitCompatibility\PhpUnit9\TestCompatibilityTrait uses \Prophecy\PhpUnit\ProphecyTrait

File

core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit9/TestCompatibilityTrait.php, line 16

Namespace

Drupal\TestTools\PhpUnitCompatibility\PhpUnit9
View source
trait TestCompatibilityTrait {
  use ProphecyTrait;

}

Members