DefaultConfigTest::testAllowsStaticVariableCreation PHP Method

testAllowsStaticVariableCreation() public method

Test whether sandbox allows static variable creation
    public function testAllowsStaticVariableCreation()
    {
        $this->assertEquals('Hello World!', $this->sandbox->execute(function () {
            static $a = 'Hello World!';
            return $a;
        }));
    }