DefaultConfigTest::testDisallowsInterfaces PHP Метод

testDisallowsInterfaces() публичный Метод

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