public void SetUp()
 {
     this.dataServiceFacade    = new MockDataServiceFacade();
     this.configurationService = new MockConfigurationService();
     this.errorView            = new MockErrorView();
     this.logger = new MockLoggerFacade();
 }
Exemple #2
0
        public void SetUp()
        {
            this.view                 = new MockProjectView();
            this.regionManager        = new MockRegionManager();
            this.configurationService = new MockConfigurationService();
            this.dataServiceFacade    = new MockDataServiceFacade();
            this.toolsRegion          = new MockRegion();

            this.toolsRegion.Name = RegionNames.ToolsRegion;
            this.regionManager.Regions.Add(this.toolsRegion);
        }
        public void SetUp()
        {
            this.view                 = new MockProjectView();
            this.regionManager        = new MockRegionManager();
            this.configurationService = new MockConfigurationService();
            this.dataServiceFacade    = new MockDataServiceFacade();
            this.mainRegion           = new MockRegion();
            this.eventAggregator      = new MockEventAggregator();
            this.resetWindowsEvent    = new MockResetWindowsEvent();
            this.eventAggregator.AddMapping <ResetWindowsEvent>(this.resetWindowsEvent);

            this.mainRegion.Name = RegionNames.MainRegion;
            this.regionManager.Regions.Add(this.mainRegion);
        }
        public void SetUp()
        {
            this.view                    = new MockTitlesView();
            this.eventAggregator         = new MockEventAggregator();
            this.addAssetToTimelineEvent = new MockAddAssetToTimelineEvent();
            this.serviceFacade           = new MockDataServiceFacade();
            this.configurationService    = new MockConfigurationService();
            this.eventAggregator.AddMapping <AddAssetToTimelineEvent>(this.addAssetToTimelineEvent);
            this.regionManager = new MockRegionManager();
            this.downloader    = new MockDownloader();
            this.toolsRegion   = new MockRegion();

            this.toolsRegion.Name = RegionNames.ToolsRegion;
            this.regionManager.Regions.Add(this.toolsRegion);
        }