| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function testGetSingleIdentifierFieldName_NoIdEntity_ThrowsException() |
||
| 16 | { |
||
| 17 | $cm = new ClassMetadata(DDC6412File::class); |
||
| 18 | $cm->initializeReflection(new RuntimeReflectionService()); |
||
| 19 | |||
| 20 | $this->expectException(\Doctrine\ORM\Mapping\MappingException::class); |
||
| 21 | $cm->getSingleIdentifierFieldName(); |
||
| 22 | } |
||
| 23 | } |