public function testMagicConstants() { $this->expectException('PHPSandbox\\Error'); $this->sandbox->execute(function () { return __DIR__; }); }