Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class RequestBodyUnitTest extends TestCase |
||
10 | { |
||
11 | public function testConstructorRequiredAssignments() |
||
12 | { |
||
13 | $content = []; |
||
14 | |||
15 | $obj = new RequestBody($content); |
||
16 | |||
17 | $this->assertInstanceOf(ExtensibleInterface::class, $obj); |
||
18 | $this->assertEquals($content, $obj->content); |
||
19 | $this->assertNull($obj->description); |
||
20 | $this->assertNull($obj->required); |
||
21 | } |
||
22 | |||
23 | public function testConstructorAllAssignments() |
||
39 | } |
||
40 | } |
||
41 |