| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public function testConstructorAllAssignments() |
||
| 23 | { |
||
| 24 | $url = 'foo'; |
||
| 25 | $description = 'Lorem ipsum dolor sit amet'; |
||
| 26 | $additional = [ |
||
| 27 | 'url' => 'http://xyz.com', |
||
| 28 | 'description' => null, |
||
| 29 | ]; |
||
| 30 | |||
| 31 | $obj = new ExternalDocumentation($url, $description, $additional); |
||
| 32 | |||
| 33 | $this->assertInstanceOf(ExtensibleInterface::class, $obj); |
||
| 34 | $this->assertEquals($url, $obj->url); |
||
| 35 | $this->assertEquals($description, $obj->description); |
||
| 36 | } |
||
| 38 |