Exemple #1
0
 public LabelCollectionRetriever(ILabelCollectionMapper labelCollectionMapper, IContentAreasServiceAgent contentAreasServiceAgent, ISystemSettings systemSettings, ILogger logger)
 {
     _labelCollectionMapper    = labelCollectionMapper;
     _contentAreasServiceAgent = contentAreasServiceAgent;
     _systemSettings           = systemSettings;
     _logger = logger;
 }
 public virtual void SetUp()
 {
     LabelCollectionMapper    = Substitute.For <ILabelCollectionMapper>();
     ContentAreasServiceAgent = Substitute.For <IContentAreasServiceAgent>();
     SystemSettings           = Substitute.For <ISystemSettings>();
     Logger = Substitute.For <ILogger>();
     LabelCollectionRetriever = new LabelCollectionRetriever(LabelCollectionMapper, ContentAreasServiceAgent, SystemSettings, Logger);
 }