Definition at line 26 of file WorkflowStepTest.php.
◆ buildFactory()
WorkflowStepTest::buildFactory |
( |
| ) |
|
|
protected |
◆ setUp()
WorkflowStepTest::setUp |
( |
| ) |
|
◆ testConstructorParams()
WorkflowStepTest::testConstructorParams |
( |
| ) |
|
Definition at line 46 of file WorkflowStepTest.php.
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());
This describes a Workflow.
◆ testImplementsFactoryInterface()
WorkflowStepTest::testImplementsFactoryInterface |
( |
| ) |
|
Definition at line 40 of file WorkflowStepTest.php.
42 $step = $this->f->step(
'');
43 $this->assertInstanceOf(
Workflow\Step::class, $step);
This describes a Workflow.
◆ testWithStatus()
WorkflowStepTest::testWithStatus |
( |
| ) |
|
Definition at line 56 of file WorkflowStepTest.php.
58 $status = Workflow\Step::SUCCESSFULLY;
59 $step = $this->f->step(
'')->withStatus($status);
60 $this->assertEquals($status, $step->getStatus());
◆ testWithStatusWrongArgs()
WorkflowStepTest::testWithStatusWrongArgs |
( |
| ) |
|
◆ $f
The documentation for this class was generated from the following file: