function TestCompatibilityTrait::assertIsNotResource
Provides forward-compatibility for assertIsNotResource().
File
-
core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit7/ TestCompatibilityTrait.php, line 199
Class
- TestCompatibilityTrait
- Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
Namespace
Drupal\TestTools\PhpUnitCompatibility\PhpUnit7Code
public static function assertIsNotResource($actual, string $message = '') : void {
static::assertNotInternalType('resource', $actual, $message);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.