Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class StatusTest extends CommonTestClass |
||
12 | { |
||
13 | /** |
||
14 | * @param int|null $what |
||
15 | * @dataProvider statusesProvider |
||
16 | */ |
||
17 | public function testOriginal(?int $what): void |
||
18 | { |
||
19 | $lib = new XStatusTransform(); |
||
20 | $this->assertEquals($what, $lib->to($lib->from($what))); |
||
21 | } |
||
22 | |||
23 | public function statusesProvider(): array |
||
29 | ]; |
||
30 | } |
||
31 | |||
32 | public function testList(): void |
||
36 | } |
||
37 | } |
||
60 |