Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
57 | public function write(): void |
||
58 | { |
||
59 | $closure = function () { |
||
60 | return 'Same return value'; |
||
61 | }; |
||
62 | |||
63 | $encode = $this->encoder->encode(new SerializableClosure($closure)); |
||
64 | |||
65 | $this->child->handle($encode); |
||
66 | static::assertInstanceOf(Child::class, $this->child->write()); |
||
67 | } |
||
68 | } |
||
69 |