| Total Complexity | 5 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class InputTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testItCreateTypeNotValidThrownException(): void |
||
| 17 | } |
||
| 18 | |||
| 19 | public function testItMethodTypeNotValidThrownException(): void |
||
| 20 | { |
||
| 21 | $this->expectException(InvalidArgumentException::class); |
||
| 22 | $this->expectExceptionMessage('supported'); |
||
| 23 | |||
| 24 | Input::unknow('foo'); |
||
|
|
|||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @dataProvider getTypeNameOptions |
||
| 29 | */ |
||
| 30 | public function testItRenderCreateText($type): void |
||
| 37 | } |
||
| 38 | |||
| 39 | public function testItRenderText(): void |
||
| 46 | } |
||
| 47 | |||
| 48 | public function getTypeNameOptions(): array |
||
| 67 |