public IRemoteDataService Construct(IConfigurationManagerWrapper configurationManager)
        {
            var historicDataSessionFactory = CreateISessionFactory(configurationManager);
            var dataReadService = ConstructDataReadService(historicDataSessionFactory);
            var agentBucketTranslator = new TranslatesAgentBucketToACDAgentSplitDatum();
            var groupStatusBucketTranslator = new TranslatesGroupStatusBucketToACDSplitDatum();
            var userStatusBucketTranslator = new TranslatesUserStatusBucketToACDAgentDatum();

            return new RevationHistoricDataService(dataReadService, agentBucketTranslator,
                groupStatusBucketTranslator, userStatusBucketTranslator);
        }
        public IEnumerable<IRemoteDataService> Construct(IConfigurationManagerWrapper configurationManager)
        {
            ISessionFactory historicDataSessionFactory = CreateISessionFactory(configurationManager);
            var daysToProcess = new List<DateTime> {DateTime.Today.AddDays(-1)};
            var readServices = daysToProcess.SelectMany(day => ConstructDataReadServices(historicDataSessionFactory, day));

            var agentBucketTranslator = new TranslatesAgentBucketToACDAgentSplitDatum();
            var groupStatusBucketTranslator = new TranslatesGroupStatusBucketToACDSplitDatum();
            var userStatusBucketTranslator = new TranslatesUserStatusBucketToACDAgentDatum();
            return
                readServices.Select(readService => new RevationHistoricDataService(readService.Name, readService, agentBucketTranslator,
                                                                                   groupStatusBucketTranslator,
                                                                                   userStatusBucketTranslator));
        }
 public void SetUp()
 {
     _callCopyEntities = new List<ICallCopyEntity> {new Device()};
     _groupStatusBuckets = new List<GroupStatusBucket>();
     _translator = new TranslatesGroupStatusBucketToACDSplitDatum();
 }