Definition at line 10 of file LinearWorkflowTest.php.
◆ buildFactory()
LinearWorkflowTest::buildFactory |
( |
| ) |
|
|
protected |
◆ setUp()
LinearWorkflowTest::setUp |
( |
| ) |
|
◆ test_active()
LinearWorkflowTest::test_active |
( |
| ) |
|
Definition at line 52 of file LinearWorkflowTest.php.
54 $wf = $this->wf->withActive(1);
55 $this->assertEquals(1, $wf->getActive());
◆ test_amount_of_steps()
LinearWorkflowTest::test_amount_of_steps |
( |
| ) |
|
Definition at line 47 of file LinearWorkflowTest.php.
49 $this->assertEquals(count($this->steps), $this->wf->getAmountOfSteps());
◆ test_constructor()
LinearWorkflowTest::test_constructor |
( |
| ) |
|
Definition at line 40 of file LinearWorkflowTest.php.
42 $this->assertEquals($this->title, $this->wf->getTitle());
43 $this->assertEquals($this->steps, $this->wf->getSteps());
44 $this->assertEquals(0, $this->wf->getActive());
◆ test_constructor_params()
LinearWorkflowTest::test_constructor_params |
( |
| ) |
|
Definition at line 33 of file LinearWorkflowTest.php.
35 $this->assertEquals($this->title, $this->wf->getTitle());
36 $this->assertEquals($this->steps, $this->wf->getSteps());
37 $this->assertEquals(0, $this->wf->getActive());
◆ test_implements_factory_interface()
LinearWorkflowTest::test_implements_factory_interface |
( |
| ) |
|
◆ test_withActive_throws()
LinearWorkflowTest::test_withActive_throws |
( |
| ) |
|
Definition at line 58 of file LinearWorkflowTest.php.
References Vendor\Package\$e.
62 $this->wf->withActive(-1);
63 $this->assertFalse(
"This should not happen.");
67 $this->assertTrue($raised);
71 $this->wf->withActive(2);
72 $this->assertFalse(
"This should not happen.");
76 $this->assertTrue($raised);
The documentation for this class was generated from the following file: