| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public function testConstructorAllAssignments() |
||
| 23 | { |
||
| 24 | $propertyName = 'foo'; |
||
| 25 | $mapping = ['foo' => 'bar']; |
||
| 26 | |||
| 27 | $obj = new Discriminator($propertyName, $mapping); |
||
| 28 | |||
| 29 | $this->assertNotInstanceOf(ExtensibleInterface::class, $obj); |
||
| 30 | $this->assertEquals($propertyName, $obj->propertyName); |
||
| 31 | $this->assertEquals($mapping, $obj->mapping); |
||
| 32 | } |
||
| 34 |