Phalcon\Test\Unit\DiTest::testGetRawService PHP Method

testGetRawService() public method

Tests getting raw services
Since: 2016-01-29
Author: 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');
        });
    }