| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class SetMessageUnitTest extends TestCase |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Data provider for the test testSetErrorMessage |
||
| 13 | * |
||
| 14 | * @return array testing data |
||
| 15 | */ |
||
| 16 | public function setErrorMessageDataProvider(): array |
||
| 17 | { |
||
| 18 | return [ |
||
| 19 | [ |
||
| 20 | 'setSuccessMessage' |
||
| 21 | ], |
||
| 22 | [ |
||
| 23 | 'setErrorMessage' |
||
| 24 | ] |
||
| 25 | ]; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Testing method |
||
| 30 | * |
||
| 31 | * @dataProvider setErrorMessageDataProvider |
||
| 32 | */ |
||
| 33 | public function testSetErrorMessage(string $method): void |
||
| 47 | } |
||
| 48 | } |
||
| 49 |