| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function testExecution() |
||
| 22 | { |
||
| 23 | $entityGenerator = $this->createMock(EntityGenerator::class); |
||
| 24 | $command = new ConvertDoctrine1SchemaCommand(); |
||
|
|
|||
| 25 | $command->setEntityGenerator($entityGenerator); |
||
| 26 | |||
| 27 | $output = $this->createMock(OutputInterface::class); |
||
| 28 | $output->expects($this->once()) |
||
| 29 | ->method('writeln') |
||
| 30 | ->with($this->equalTo('No Metadata Classes to process.')); |
||
| 31 | |||
| 32 | $command->convertDoctrine1Schema([], sys_get_temp_dir(), 'annotation', 4, null, $output); |
||
| 33 | } |
||
| 35 |