Phalcon\Test\Unit\ConfigTest::testNumericConfig PHP Method

testNumericConfig() public method

Tests access by numeric key
Since: 2014-11-12
Author: Rian Orie ([email protected])
public testNumericConfig ( )
    public function testNumericConfig()
    {
        $this->specify("Access by numeric key does not return the expected result", function () {
            $config = new Config(['abc']);
            expect($config->{0})->equals('abc');
        });
    }