| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function testNamedConstructorInstantiatable(): void |
||
| 33 | { |
||
| 34 | $object = $this->new(NamedArgumentConstructorFixture::class, [ |
||
| 35 | 'a' => 23, |
||
| 36 | 'b' => 42, |
||
| 37 | ]); |
||
| 38 | |||
| 39 | $this->assertSame(23, $object->a); |
||
| 40 | $this->assertSame(42, $object->b); |
||
| 41 | $this->assertSame(null, $object->c); |
||
| 42 | } |
||
| 44 |