protected override void Context() { _dataRepositoryTask = A.Fake <IDataRepositoryTask>(); _quantityDisplayPathMapper = A.Fake <IQuantityPathToQuantityDisplayPathMapper>(); _batchSimulationExportMapper = A.Fake <ISimulationResultsToBatchSimulationExportMapper>(); sut = new SimulationResultsExporter(_dataRepositoryTask, _quantityDisplayPathMapper, _batchSimulationExportMapper); _simulation = A.Fake <ISimulation>(); _results = new DataRepository(); _fileName = FileHelper.GenerateTemporaryFileName(); }
public SimulationResultsExporter(IDataRepositoryTask dataRepositoryTask, IQuantityPathToQuantityDisplayPathMapper quantityDisplayPathMapper, ISimulationResultsToBatchSimulationExportMapper simulationExportMapper) { _dataRepositoryTask = dataRepositoryTask; _quantityDisplayPathMapper = quantityDisplayPathMapper; _simulationExportMapper = simulationExportMapper; }