public function testHelloWorldEchoed() { $this->expectOutputString('Hello World!'); $this->sandbox->execute(function () { echo 'Hello World!'; }); }