Definition at line 10 of file WorkflowStepTest.php.
◆ buildFactory()
WorkflowStepTest::buildFactory |
( |
| ) |
|
|
protected |
◆ setUp()
WorkflowStepTest::setUp |
( |
| ) |
|
◆ test_constructor_params()
WorkflowStepTest::test_constructor_params |
( |
| ) |
|
Definition at line 27 of file WorkflowStepTest.php.
30 $description =
'description';
31 $step = $this->f->step($label, $description);
32 $this->assertEquals($label, $step->getLabel());
33 $this->assertEquals($description, $step->getDescription());
34 $this->assertEquals(
Workflow\Step::NOT_STARTED, $step->getStatus());
This describes a Workflow.
◆ test_implements_factory_interface()
WorkflowStepTest::test_implements_factory_interface |
( |
| ) |
|
Definition at line 21 of file WorkflowStepTest.php.
23 $step = $this->f->step(
'',
'');
24 $this->assertInstanceOf(
Workflow\Step::class, $step);
This describes a Workflow.
◆ test_withStatus()
WorkflowStepTest::test_withStatus |
( |
| ) |
|
Definition at line 37 of file WorkflowStepTest.php.
39 $status = Workflow\Step::SUCCESSFULLY;
40 $step = $this->f->step(
'',
'')->withStatus($status);
41 $this->assertEquals($status, $step->getStatus());
◆ test_withStatus_wrong_args()
WorkflowStepTest::test_withStatus_wrong_args |
( |
| ) |
|
The documentation for this class was generated from the following file: