3declare(strict_types=1);
 
   21require_once(__DIR__ . 
"/../../../../../libs/composer/vendor/autoload.php");
 
   22require_once(__DIR__ . 
"/../../../Base.php");
 
   28    protected Workflow\Factory 
$f;
 
   42        $step = $this->f->step(
'');
 
   43        $this->assertInstanceOf(
Workflow\Step::class, $step);
 
   49        $description = 
'description';
 
   50        $step = $this->f->step($label, $description);
 
   51        $this->assertEquals($label, $step->getLabel());
 
   52        $this->assertEquals($description, $step->getDescription());
 
   53        $this->assertEquals(
Workflow\Step::NOT_STARTED, $step->getStatus());
 
   58        $status = Workflow\Step::SUCCESSFULLY;
 
   59        $step = $this->f->step(
'')->withStatus($status);
 
   60        $this->assertEquals($status, $step->getStatus());
 
   68            $this->f->step(
'')->withStatus($status);
 
   69        } 
catch (InvalidArgumentException 
$e) {
 
   72        $this->assertTrue($raised);
 
Provides common functionality for UI tests.
 
test_constructor_params()
 
test_withStatus_wrong_args()
 
test_implements_factory_interface()
 
This is the interface for a workflow factory.
 
This describes a Workflow.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...