| 1 | <?php |
||
| 7 | class FactoryTest extends Helpers\TestCase |
||
| 8 | { |
||
| 9 | protected function setUp() |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @test |
||
| 17 | */ |
||
| 18 | public function instantiateHgCommands() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @test |
||
| 44 | */ |
||
| 45 | public function privateConstructor() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @test |
||
| 55 | * @expectedException \InvalidArgumentException |
||
| 56 | */ |
||
| 57 | public function notExistingCommand() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @test |
||
| 64 | * @expectedException \InvalidArgumentException |
||
| 65 | */ |
||
| 66 | public function invokeByNonCreate() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @test |
||
| 73 | */ |
||
| 74 | public function executeCommand() |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @test |
||
| 83 | * |
||
| 84 | * @expectedException \RuntimeException |
||
| 85 | */ |
||
| 86 | public function executeCommandWithoutRepositoryInitilized() |
||
| 90 | } |
||
| 91 |