public JobWrapper(
                DeleteInAWithNoRetry <TAtypeEntityId, TAtypeEntityVersion, TAtypeEntity, TBtypeEntityId, TBtypeEntityVersion, TBtypeEntity> state,
                IEntitySynchronizationLogger logger)
            {
                if (state == null)
                {
                    throw new ArgumentNullException(nameof(state));
                }
                if (logger == null)
                {
                    throw new ArgumentNullException(nameof(logger));
                }

                _state  = state;
                _logger = logger;
            }