Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClassDoesNotExtendTestCaseException.php

class ClassDoesNotExtendTestCaseException

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This class is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • class \PHPUnit\Runner\ClassDoesNotExtendTestCaseException extends \RuntimeException implements \PHPUnit\Runner\Exception

Expanded class hierarchy of ClassDoesNotExtendTestCaseException

File

vendor/phpunit/phpunit/src/Runner/Exception/ClassDoesNotExtendTestCaseException.php, line 20

Namespace

PHPUnit\Runner
View source
final class ClassDoesNotExtendTestCaseException extends RuntimeException implements Exception {
    public function __construct(string $className, string $file) {
        parent::__construct(sprintf('Class %s declared in %s does not extend PHPUnit\\Framework\\TestCase', $className, $file));
    }

}

Members

Title Sort descending Modifiers Object type Summary
ClassDoesNotExtendTestCaseException::__construct public function
RSS feed
Powered by Drupal