public function testDisallowsDie() { $this->expectException('PHPSandbox\\Error'); $this->sandbox->execute(function () { die('Hello World!'); }); }