public static function TestCompatibilityTrait::assertIsNotResource in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/TestCompatibilityTrait.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\TestCompatibilityTrait::assertIsNotResource()
- 8 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/TestCompatibilityTrait.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\TestCompatibilityTrait::assertIsNotResource()
Provides forward-compatibility for assertIsNotResource().
File
- core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit6/ TestCompatibilityTrait.php, line 199
Class
- TestCompatibilityTrait
- Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
Namespace
Drupal\TestTools\PhpUnitCompatibility\PhpUnit6Code
public static function assertIsNotResource($actual, $message = '') {
static::assertNotInternalType('resource', $actual, $message);
}