DefaultConfigTest::testDisallowsEscaping PHP Method

testDisallowsEscaping() public method

Test whether sandbox disallows escaping to HTML
    public function testDisallowsEscaping()
    {
        $this->expectException('PHPSandbox\\Error');
        $this->sandbox->execute(function () {
            ?>
Hello World!<?php 
        });
    }