Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function pathsCommand() |
||
23 | { |
||
24 | /* @var $pathsCmd \Siad007\VersionControl\HG\Command\PathsCommand */ |
||
25 | $pathsCmd = Factory::getInstance('paths'); |
||
26 | $pathsCmd->setName('test'); |
||
27 | |||
28 | $expected = 'hg paths test'; |
||
29 | |||
30 | $this->assertSame('test', $pathsCmd->getName()); |
||
31 | $this->assertSame($expected, $pathsCmd->asString()); |
||
32 | } |
||
33 | } |
||
34 |