Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester Class Reference
Inheritance diagram for Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester:

Public Member Functions

 __construct (StepTester $basetester, EventDispatcherInterface $eventdispatcher)
 Initializes tester.
 
 setUp (Environment $env, FeatureNode $feature, StepNode $step, $skip)
 Sets up step for a test.
 
 tearDown (Environment $env, FeatureNode $feature, StepNode $step, $skip, StepResult $result)
 Tears down step after a test.
 
 test (Environment $env, FeatureNode $feature, StepNode $step, $skip)
 Tests step.
 

Constructor & Destructor Documentation

◆ __construct()

Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester::__construct ( StepTester $basetester,
EventDispatcherInterface $eventdispatcher )

Initializes tester.

Parameters
StepTester$basetester
EventDispatcherInterface$eventdispatcher

Member Function Documentation

◆ setUp()

Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester::setUp ( Environment $env,
FeatureNode $feature,
StepNode $step,
$skip )

Sets up step for a test.

Parameters
Environment$env
FeatureNode$feature
StepNode$step
bool$skip
Return values
Setup

◆ tearDown()

Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester::tearDown ( Environment $env,
FeatureNode $feature,
StepNode $step,
$skip,
StepResult $result )

Tears down step after a test.

Parameters
Environment$env
FeatureNode$feature
StepNode$step
bool$skip
StepResult$result
Return values
Teardown

◆ test()

Moodle\BehatExtension\EventDispatcher\Tester\MoodleEventDispatchingStepTester::test ( Environment $env,
FeatureNode $feature,
StepNode $step,
$skip )

Tests step.

Parameters
Environment$env
FeatureNode$feature
StepNode$step
bool$skip
Return values
StepResult

The documentation for this class was generated from the following file: