| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function testGenerate() : void |
||
| 24 | { |
||
| 25 | $input = new ArrayInput([ |
||
| 26 | 'command' => 'generate', |
||
| 27 | '--user' => 'jwage', |
||
| 28 | '--repository' => 'changelog-generator', |
||
| 29 | '--milestone' => '1.0', |
||
| 30 | ]); |
||
| 31 | |||
| 32 | $output = $this->createMock(OutputInterface::class); |
||
| 33 | |||
| 34 | $this->changelogGenerator->expects($this->once()) |
||
| 35 | ->method('generate') |
||
| 36 | ->with('jwage', 'changelog-generator', '1.0'); |
||
| 37 | |||
| 38 | $this->application->run($input, $output); |
||
| 39 | } |
||
| 50 |