Definition at line 26 of file WorkflowStepTest.php.
◆ buildFactory()
WorkflowStepTest::buildFactory |
( |
| ) |
|
|
protected |
◆ setUp()
WorkflowStepTest::setUp |
( |
| ) |
|
◆ test_constructor_params()
WorkflowStepTest::test_constructor_params |
( |
| ) |
|
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.
◆ test_implements_factory_interface()
WorkflowStepTest::test_implements_factory_interface |
( |
| ) |
|
Definition at line 40 of file WorkflowStepTest.php.
42 $step = $this->f->step(
'');
43 $this->assertInstanceOf(
Workflow\Step::class, $step);
This describes a Workflow.
◆ test_withStatus()
WorkflowStepTest::test_withStatus |
( |
| ) |
|
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());
◆ test_withStatus_wrong_args()
WorkflowStepTest::test_withStatus_wrong_args |
( |
| ) |
|
◆ $f
The documentation for this class was generated from the following file: