| Total Complexity | 3 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class RouterUtilsUnitTest extends \PHPUnit\Framework\TestCase |
||
| 5 | { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Datapdovider for the test testGetCallableDescription |
||
| 9 | * |
||
| 10 | * @return array testing data |
||
| 11 | */ |
||
| 12 | public function getCallableDescriptionDataProvider(): array |
||
| 32 | ] |
||
| 33 | ]; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Testing getCallableDescription method |
||
| 38 | * |
||
| 39 | * @param mixed $callable |
||
| 40 | * @param string $result |
||
| 41 | * @dataProvider getCallableDescriptionDataProvider |
||
| 42 | */ |
||
| 43 | public function testGetCallableDescription($callable, string $result): void |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Testing convertMethodNameToRoute |
||
| 51 | */ |
||
| 52 | public function testMethodNameToRouteConversion(): void |
||
| 61 |