public void InitTest() { base.InitDbContext(); _commitProviderInstance = new CommitProvider(this.DbFactory); _avmRequestsRepository = new AvmRequestsRepository(this.DbFactory); _configurationHelper = new ConfigHelper(); _taskManager = Substitute.For<ITaskManager>(); _orderManager = Substitute.For<IOrderManager>(); _documentService = Substitute.For<IDocumentService>(); _avmRequestsService = new AvmRequestsService(_configurationHelper, _commitProviderInstance, _avmRequestsRepository, _taskManager, _orderManager, _documentService); }
public OrderFulfillmentServiceTest() { _appraiserOrderRepository = Substitute.For<IAppraiserOrderRepository>(); _clientDashboardService = Substitute.For<IClientDashboardService>(); _clientManager = Substitute.For<IClientUserManager>(); _orderRepository = Substitute.For<IOrderRepository>(); _formsService = Substitute.For<IAppraisalFormsService>(); _securityContext = Substitute.For<ISecurityContext>(); _refManager = Substitute.For<IReferenceManagement>(); _orderManager = Substitute.For<IOrderManager>(); _changeTrackingRepository = Substitute.For<IChangeTrackingRepository>(); _userManager = Substitute.For<IUsersManagement>(); _orderHistoryManager = Substitute.For<IOrderHistoryManager>(); _avmRequestsService = Substitute.For<IAvmRequestsService>(); _taskManager = Substitute.For<ITaskManager>(); _orderPeriodicalNotificationManager = Substitute.For<IOrderPeriodicalNotificationManager>(); _target = new OrderFulfillmentService(_orderManager, _appraiserOrderRepository, _clientDashboardService, _clientManager, _orderRepository, _formsService, _securityContext, _refManager, _changeTrackingRepository, _userManager, _orderHistoryManager, _avmRequestsService, _taskManager, _orderPeriodicalNotificationManager); }
public AVMRequestTask(IAvmRequestsService avmRequestService, IMailManager mailManager) { _avmRequestService = avmRequestService; _mailManager = mailManager; }