public function testAutowhitelistTrustedCode()
{
$this->sandbox->prepend(function () {
function test2()
{
return 'Hello World!';
}
});
$this->assertEquals('Hello World!', $this->sandbox->execute(function () {
return test2();
}));
$this->setUp();
//reset
}