| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 23 | public function testConstructorAllAssignments() | ||
| 24 |     { | ||
| 25 | $type = 'apiKey'; | ||
| 26 | $description = 'Lorem ipsum dolor sit amet'; | ||
| 27 | $additional = [ | ||
| 28 | 'in' => Document::PARAM_IN_HEADER, | ||
| 29 | 'description' => null, | ||
| 30 | ]; | ||
| 31 | |||
| 32 | $obj = new SecurityScheme($type, $description, $additional); | ||
| 33 | |||
| 34 | $this->assertInstanceOf(ExtensibleInterface::class, $obj); | ||
| 35 | $this->assertEquals($type, $obj->type); | ||
| 36 | $this->assertEquals($description, $obj->description); | ||
| 37 | $this->assertEquals($additional['in'], $obj->in); | ||
| 38 | } | ||
| 40 |