DefaultConfigTest::testDisallowsErrorSuppressing PHP Метод

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

Test whether sandbox disallows error suppressing
    public function testDisallowsErrorSuppressing()
    {
        $this->expectException('PHPSandbox\\Error');
        $this->sandbox->execute('$value = @$cache[$key];');
    }