public function test_render_multiple_children() { $expected = 'beeshoneycandy'; $actual = capture(function ($stream) { render($stream, 'bees', 'honey', 'candy'); }); $this->assertSame($expected, $actual['stdout']); }