public function testDisallowsRequire() { $this->expectException('PHPSandbox\\Error'); $this->sandbox->execute(function () { require 'test.php'; }); }