public function testDisallowsInterfaces() { $this->expectException('PHPSandbox\\Error'); $this->sandbox->execute('interface Foo {}'); }