Add a service to the thread's StackInABox instance.

        :param service: StackInABoxService instance to add to the test

        For return value and errors see StackInABox.register()

def register_service(cls, service):
        """Add a service to the thread's StackInABox instance.

        :param service: StackInABoxService instance to add to the test

        For return value and errors see StackInABox.register()

        """
        logger.debug('Registering service {0}'.format(service.name))
        return local_store.instance.register(service)