22                include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
 
   26                require_once 
'./Services/WorkflowEngine/classes/workflows/class.ilEmptyWorkflow.php';
 
   36                        $ilSetting->delete(
'IL_PHPUNIT_TEST_MICROTIME');
 
   49                        'Construction failed with valid context passed to constructor.' 
   59                $actual = $node->getContext();
 
   62                if ($actual === $this->workflow)
 
   64                        $this->assertEquals($actual, $this->workflow);
 
   66                        $this->assertTrue(
false, 
'Context not identical.');
 
   74                require_once 
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
 
   76                $node->addDetector($detector);
 
   82                $actual = $node->isActive();
 
   83                $this->assertTrue($actual);
 
   90                require_once 
'./Services/WorkflowEngine/classes/detectors/class.ilSimpleDetector.php';
 
   92                $node->addDetector($detector);
 
   98                $this->assertTrue($node->isActive(), 
'Node should be active but is inactive.');
 
  100                $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