DefaultConfigTest::testDisallowsErrorSuppressing PHP Method

testDisallowsErrorSuppressing() public method

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