| Conditions | 2 |
| Paths | 2 |
| Total Lines | 23 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function instantiateHgCommands() |
||
| 19 | { |
||
| 20 | $commands = [ |
||
| 21 | 'clone', |
||
| 22 | 'init', |
||
| 23 | 'paths', |
||
| 24 | 'pull', |
||
| 25 | 'push', |
||
| 26 | 'root', |
||
| 27 | 'summary', |
||
| 28 | 'tags', |
||
| 29 | 'update', |
||
| 30 | 'verify', |
||
| 31 | 'version' |
||
| 32 | ]; |
||
| 33 | |||
| 34 | foreach ($commands as $command) { |
||
| 35 | $this->assertInstanceOf( |
||
| 36 | sprintf('Siad007\VersionControl\HG\Command\%sCommand', $command), |
||
| 37 | Factory::getInstance($command) |
||
| 38 | ); |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 91 |