| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | public function testConstructorRequiredAssignments() |
||
| 12 | { |
||
| 13 | $propertyName = 'foo'; |
||
| 14 | |||
| 15 | $obj = new Discriminator($propertyName); |
||
| 16 | |||
| 17 | $this->assertNotInstanceOf(ExtensibleInterface::class, $obj); |
||
| 18 | $this->assertEquals($propertyName, $obj->propertyName); |
||
| 19 | $this->assertNull($obj->mapping); |
||
| 20 | } |
||
| 34 |