Phalcon\Test\Unit\ConfigTest::testNumericConfig PHP Метод

testNumericConfig() публичный Метод

Tests access by numeric key
С версии: 2014-11-12
Автор: 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');
        });
    }