| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 29 | public function testCreateEntityWithField(): void |
||
| 30 | { |
||
| 31 | $entityFqn = $this->getCopiedFqn(static::TEST_ENTITY_FQN_BASE.$this->entitySuffix); |
||
| 32 | $entity = new $entityFqn(); |
||
| 33 | $getter = $this->getGetter($entity); |
||
| 34 | $this->assertTrue(\method_exists($entity, $getter)); |
||
| 35 | $value = $entity->$getter(); |
||
| 36 | $this->assertEmpty($value); |
||
| 37 | } |
||
| 39 |