DefaultConfigTest::testAllowsVariableCreation PHP Method

testAllowsVariableCreation() public method

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