| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class LicenseUnitTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testConstructorRequiredAssignments() |
||
| 12 | { |
||
| 13 | $name = 'foo'; |
||
| 14 | |||
| 15 | $obj = new License($name); |
||
| 16 | |||
| 17 | $this->assertInstanceOf(ExtensibleInterface::class, $obj); |
||
| 18 | $this->assertEquals($name, $obj->name); |
||
| 19 | $this->assertNull($obj->url); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testConstructorAllAssignments() |
||
| 36 | } |
||
| 37 | } |
||
| 38 |