Phalcon\Test\Unit\DiTest::testGetRawService PHP 메소드

testGetRawService() 공개 메소드

Tests getting raw services
부터: 2016-01-29
저자: Serghei Iakovlev ([email protected])
public testGetRawService ( )
    public function testGetRawService()
    {
        $this->specify("Getting raw services does now work correctly", function () {
            $this->phDi->set('service1', 'some-service');
            expect($this->phDi->getRaw('service1'))->equals('some-service');
        });
    }