PhpBench\Tests\Unit\Registry\RegistryTest::testExceptionServivceNotExist PHP Метод

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

It should throw an exception if a service does not exist.
    public function testExceptionServivceNotExist()
    {
        $this->registry->setService('one', $this->service1->reveal());
        $this->registry->getService('bar');
    }