Phalcon\Test\Unit\DiTest::testMagicGetCall PHP Méthode

testMagicGetCall() public méthode

Tests resolving service via magic __get
Since: 2016-01-29
Author: Serghei Iakovlev ([email protected])
public testMagicGetCall ( )
    public function testMagicGetCall()
    {
        $this->specify("Resolving service via magic __get does now work correctly", function () {
            $this->phDi->set('request8', 'Phalcon\\Http\\Request');
            expect(get_class($this->phDi->getRequest8()))->equals('Phalcon\\Http\\Request');
        });
    }