function let(ServiceLocator $serviceLocator) { $this->registry = new ExtensionRegistry($serviceLocator->getWrappedObject()); $this->beConstructedWith($this->registry); }