protected override void Context() { _quantityDisplayPathMapper = A.Fake <IQuantityPathToQuantityDisplayPathMapper>(); _buildingBlockTask = A.Fake <IBuildingBlockTask>(); _dialogCreator = A.Fake <IDialogCreator>(); _dataRepositoryTask = A.Fake <IDataRepositoryTask>(); _stringSerializer = A.Fake <IStringSerializer>(); _modelReportCreator = A.Fake <IModelReportCreator>(); _simulationMapper = A.Fake <ISimulationToModelCoreSimulationMapper>(); _simModelExporter = A.Fake <ISimModelExporter>(); _simulationResultsToDataTableConverter = A.Fake <ISimulationResultsToDataTableConverter>(); sut = new SimulationExportTask(_buildingBlockTask, _dialogCreator, _dataRepositoryTask, _quantityDisplayPathMapper, _stringSerializer, _modelReportCreator, _simulationMapper, _simModelExporter, _simulationResultsToDataTableConverter); }
protected override Task Context() { _quantityDisplayPathMapper = A.Fake <IQuantityPathToQuantityDisplayPathMapper>(); _lazyLoadTask = A.Fake <ILazyLoadTask>(); _dialogCreator = A.Fake <IDialogCreator>(); _dataRepositoryTask = A.Fake <IDataRepositoryExportTask>(); _stringSerializer = A.Fake <IStringSerializer>(); _modelReportCreator = A.Fake <IModelReportCreator>(); _simulationMapper = A.Fake <ISimulationToModelCoreSimulationMapper>(); _simModelExporter = A.Fake <ISimModelExporter>(); _simulationResultsToDataTableConverter = A.Fake <ISimulationResultsToDataTableConverter>(); _populationSimulationPKAnalysesToDataTableConverter = A.Fake <IPopulationSimulationPKAnalysesToDataTableConverter>(); sut = new SimulationExportTask(_lazyLoadTask, _dialogCreator, _dataRepositoryTask, _quantityDisplayPathMapper, _stringSerializer, _modelReportCreator, _simulationMapper, _simModelExporter, _simulationResultsToDataTableConverter, _populationSimulationPKAnalysesToDataTableConverter); return(_completed); }