public void PreRunClearsSurveyAnswersCache()
        {
            var mockTenantSurveyProcessingInfoCache = new Mock <IDictionary <string, TenantSurveyProcessingInfo> >();
            var command = new UpdatingSurveyResultsSummaryCommand(mockTenantSurveyProcessingInfoCache.Object, new Mock <ISurveyAnswerStore>().Object, new Mock <ISurveyAnswersSummaryStore>().Object);

            command.PreRun();

            mockTenantSurveyProcessingInfoCache.Verify(c => c.Clear(), Times.Once());
        }
        public void PreRunClearsSurveyAnswersCache()
        {
            var mockTenantSurveyProcessingInfoCache = new Mock<IDictionary<string, TenantSurveyProcessingInfo>>();
            var command = new UpdatingSurveyResultsSummaryCommand(mockTenantSurveyProcessingInfoCache.Object, new Mock<ISurveyAnswerStore>().Object, new Mock<ISurveyAnswersSummaryStore>().Object);

            command.PreRun();

            mockTenantSurveyProcessingInfoCache.Verify(c => c.Clear(), Times.Once());
        }