public void Setup() { this.configurationRepository = new Mock <IConfigurationRepository>(); this.indicatorConfigurationService = new QualityIndicatorConfigurationService(this.configurationRepository.Object); this.qualityIndicatorService = new Mock <QualityIndicatorService>(this.indicatorConfigurationService); }
public QualityIndicatorService(IQualityIndicatorConfigurationService indicatorConfigurationService) { this.qualityLevels = indicatorConfigurationService.GetIndictatorConfiguration(); }