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