| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class ParameterUnitTest extends TestCase |
||
| 11 | { |
||
| 12 | public function testConstructorRequiredAssignments() |
||
| 13 | { |
||
| 14 | $name = 'foo'; |
||
| 15 | $in = Document::PARAM_IN_QUERY; |
||
| 16 | |||
| 17 | $obj = new Parameter($name, $in); |
||
| 18 | |||
| 19 | $this->assertInstanceOf(ExtensibleInterface::class, $obj); |
||
| 20 | $this->assertEquals($name, $obj->name); |
||
| 21 | $this->assertEquals($in, $obj->in); |
||
| 22 | $this->assertNull($obj->description); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function testConstructorAllAssignments() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |