| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function testAction(): void |
||
| 13 | { |
||
| 14 | $actionFirst = 'failed'; |
||
| 15 | $actionSecond = 'delivered'; |
||
| 16 | |||
| 17 | $actionField = new ActionField('name', $actionFirst); |
||
| 18 | $this->assertSame($actionFirst, $actionField->getAction()); |
||
| 19 | |||
| 20 | $actionField->setAction($actionSecond); |
||
| 21 | $this->assertEquals($actionSecond, $actionField->getAction()); |
||
| 22 | } |
||
| 62 |