| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class CommandLineTest extends TestCase |
||
| 12 | { |
||
| 13 | |||
| 14 | public function testCreate() |
||
| 15 | { |
||
| 16 | $this->assertInstanceOf(CommandLine::class, new CommandLine('ls')); |
||
| 17 | $this->assertInstanceOf(CommandLine::class, new CommandLine(['ls'])); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testCreateWithInvalidArgument() |
||
| 21 | { |
||
| 22 | $this->expectException(InvalidArgumentException::class); |
||
| 23 | new CommandLine(4); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function testAsString() |
||
| 29 | } |
||
| 30 | } |
||
| 31 |