OrnoTest\ContainerTest::testExtendThrowsExceptionWhenUnregisteredServiceIsGiven PHP 메소드

testExtendThrowsExceptionWhenUnregisteredServiceIsGiven() 공개 메소드

    public function testExtendThrowsExceptionWhenUnregisteredServiceIsGiven()
    {
        $this->setExpectedException('InvalidArgumentException');
        $c = new Container();
        $c->extend('does_not_exist');
    }
ContainerTest