19 declare(strict_types=1);
    21 require_once(__DIR__ . 
"/../../../../../../../vendor/composer/vendor/autoload.php");
    22 require_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);
    72         $this->assertTrue($raised);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This describes a Workflow. 
 
testImplementsFactoryInterface()
 
This is the interface for a workflow factory. 
 
testWithStatusWrongArgs()