| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Base64Test extends TestCase |
||
| 10 | { |
||
| 11 | /** @var Base64 - System Under Test */ |
||
| 12 | protected Base64 $sut; |
||
| 13 | |||
| 14 | public function setUp(): void |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return array[] |
||
| 23 | */ |
||
| 24 | public function passesProvider(): array |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @dataProvider passesProvider |
||
| 35 | * |
||
| 36 | * @param $value |
||
| 37 | * @param array $allValues |
||
| 38 | * @param bool $expectedResult |
||
| 39 | */ |
||
| 40 | public function testPasses($value, array $allValues, bool $expectedResult): void |
||
| 45 | } |
||
| 46 | |||
| 47 | public function testGetSlug(): void |
||
| 54 |