public function testExceptionServivceNotExist() { $this->registry->setService('one', $this->service1->reveal()); $this->registry->getService('bar'); }