public void TestInitilize() { _mockUnitOfWork = new Mock <IUnitOfWork>(); _mockTransformData = new Mock <ITransformTemplateToDesign>(); _mockServiceDecompositionImporter = new Mock <IServiceDecompositionImporter>(); _mockServiceDeskService = new Mock <IServiceDeskService>(); _serviceDecompositionImporter = new ServiceDecompositionImporter(); _serviceDecompositionDesignDataImportProcessor = new ServiceDecompositionDesignDataImportProcessor(_serviceDecompositionImporter, _mockTransformData.Object, _mockServiceDeskService.Object, _mockUnitOfWork.Object); }
public void TestInitialize() { _templates = new List <Template> { new Template { Id = 1, TemplateType = TemplateTypeNames.SLM.GetEnumIntFromText <TemplateType>(), Filename = ServiceDecompositionFilename } }; _mockTemplateService = new Mock <ITemplateService>(); _mockUserIdentity = new Mock <IUserIdentity>(); _serviceDecompositionImporter = new ServiceDecompositionImporter(); _mockTransformSpreadsheetToTemplate = new Mock <ITransformSpreadsheetToTemplate>(); _transformSpreadsheetToTemplate = new TransformSpreadsheetToTemplate(_mockUserIdentity.Object); _serviceDecompositionTemplateDataImportProcessor = new ServiceDecompositionTemplateDataImportProcessor(_serviceDecompositionImporter, _transformSpreadsheetToTemplate, _mockTemplateService.Object, _mockUserIdentity.Object); }