public function testRegisterRetrieveService()
{
$this->container->get('foo')->willReturn($this->service1->reveal())->shouldBeCalledTimes(1);
$this->registry->registerService('bar', 'foo');
$this->registry->getService('bar');
$this->registry->getService('bar');
}