| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | public function testGetAccessor(): void |
||
| 48 | { |
||
| 49 | $e = new AccessedEntity(); |
||
| 50 | $this->assertSame('', (string)$e->name); |
||
| 51 | $this->assertInstanceOf(NameValue::class, $e->name); |
||
| 52 | |||
| 53 | $this->assertEquals([ |
||
| 54 | 'name' => new NameValue(null) |
||
| 55 | ], $e->getFields()); |
||
| 56 | |||
| 57 | $e->setFields(null); |
||
| 58 | } |
||
| 77 |