Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function testGetCommand() |
||
24 | { |
||
25 | $configuration = $this->getConfigurationSet(); |
||
26 | |||
27 | $step = $this->getMockBuilder('\Graviton\Deployment\Steps\CloudFoundry\AbstractCommonStep') |
||
28 | ->setConstructorArgs(array($configuration, 'my_application', 'blue')) |
||
29 | ->getMockForAbstractClass(); |
||
30 | |||
31 | $this->assertEquals( |
||
32 | array('/usr/bin/cf' , null , 'my_application-blue'), |
||
33 | $step->getCommand() |
||
34 | ); |
||
35 | } |
||
36 | } |
||
37 |