| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class EnvParserTest extends TestCase |
||
| 18 | { |
||
| 19 | public function testCreation() |
||
| 20 | { |
||
| 21 | $args = new Args(array()); |
||
| 22 | $parser = EnvParser::create($args); |
||
| 23 | self::assertInstanceOf('Ktomk\Pipelines\Utility\EnvParser', $parser); |
||
| 24 | } |
||
| 25 | |||
| 26 | public function provideParseParameters() |
||
| 27 | { |
||
| 28 | return array( |
||
| 29 | array(array(), null, ''), |
||
| 30 | ); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @dataProvider provideParseParameters |
||
| 35 | * |
||
| 36 | * @param array $inherit |
||
| 37 | * @param null|string $reference |
||
| 38 | * @param string $workingDir |
||
| 39 | * |
||
| 40 | * @throws \Ktomk\Pipelines\Cli\ArgsException |
||
| 41 | */ |
||
| 42 | public function testParse(array $inherit, $reference, $workingDir) |
||
| 49 | } |
||
| 50 | } |
||
| 51 |