22        include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
 
   26        require_once 
'./Services/WorkflowEngine/classes/workflows/class.ilEmptyWorkflow.php';
 
   35            $ilSetting->delete(
'IL_PHPUNIT_TEST_MICROTIME');
 
   48            'Construction failed with valid context passed to constructor.' 
   58        $actual = $node->getContext();
 
   61        if ($actual === $this->workflow) {
 
   62            $this->assertEquals($actual, $this->workflow);
 
   64            $this->assertTrue(
false, 
'Context not identical.');
 
   72        require_once 
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
 
   74        $node->addDetector($detector);
 
   80        $actual = $node->isActive();
 
   81        $this->assertTrue($actual);
 
   88        require_once 
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
 
   90        $node->addDetector($detector);
 
   96        $this->assertTrue($node->isActive(), 
'Node should be active but is inactive.');
 
   98        $this->assertFalse($node->isActive(), 
'Node should be inactive but is active.');
 
An exception for terminatinating execution or to throw for unit testing.
@noinspection PhpIncludeInspection
ilPluginNodeTest is part of the petri net based workflow engine.
testConstructorValidContext()
testIsActiveAndActivate()
@noinspection PhpIncludeInspection
@noinspection PhpIncludeInspection