Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
37 | public function iImplementTheInterface($interface) |
||
38 | { |
||
39 | $arguments = array( |
||
40 | 'command' => 'behavior:implement', |
||
41 | 'interface' => $interface |
||
42 | ); |
||
43 | if ($this->applicationTester->run($arguments, []) !== 0) { |
||
44 | throw new \Exception('Test runner exited with an error '); |
||
45 | } |
||
46 | } |
||
47 | } |
||
49 |