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

Breadcrumb

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

function DispatchingEmitter::testPreConditionCalled

@psalm-param class-string $testClassName

Throws

InvalidArgumentException

UnknownEventTypeException

Overrides Emitter::testPreConditionCalled

File

vendor/phpunit/phpunit/src/Event/Emitter/DispatchingEmitter.php, line 427

Class

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

Namespace

PHPUnit\Event

Code

public function testPreConditionCalled(string $testClassName, ClassMethod $calledMethod) : void {
    $this->dispatcher
        ->dispatch(new Test\PreConditionCalled($this->telemetryInfo(), $testClassName, $calledMethod));
}
RSS feed
Powered by Drupal