public CommunicationService(IOrderManager orderManager, ISecurityContext securityContext, IOrderHistoryManager orderHistoryManager, IOrderPeriodicalNotificationManager orderPeriodicalNotificationManager) { _orderManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderManager); _securityContext = ValidationUtil.CheckOnNullAndThrowIfNull(securityContext); _orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager); _orderPeriodicalNotificationManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderPeriodicalNotificationManager); }
public ConditionsService(IOrderManager orderManager, IReferenceRepository referenceRepository, IOrderPeriodicalNotificationManager notificationManager, ISecurityContext securityContext, IOrderHistoryManager orderHistoryManager) { _orderManager = orderManager; _referenceRepository = referenceRepository; _notificationManager = notificationManager; _securityContext = securityContext; _orderHistoryManager = orderHistoryManager; }
public OrderDocumentsService(IOrderDocumentsRepository orderDocumentsRepository, IReferenceManagement referenceManagement, ISecurityContext securityContext, IDocumentService documentService, IUsersManagement userManagement, IOrderManager orderManager, IOrderHistoryManager orderHistoryManager) { _orderDocumentsRepository = orderDocumentsRepository; _referenceManagement = referenceManagement; _securityContext = securityContext; _documentService = documentService; _userManagement = userManagement; _orderManager = orderManager; _orderHistoryManager = orderHistoryManager; }
public OrderDocumentsServiceTest() { _orderDocumentsRepository = Substitute.For<IOrderDocumentsRepository>(); _referenceManagement = Substitute.For<IReferenceManagement>(); _securityContext = Substitute.For<ISecurityContext>(); _userManagement = Substitute.For<IUsersManagement>(); _documentService = Substitute.For<IDocumentService>(); _orderManager = Substitute.For<IOrderManager>(); _orderHistoryManager = Substitute.For<IOrderHistoryManager>(); _target = new OrderDocumentsService(_orderDocumentsRepository, _referenceManagement, _securityContext, _documentService, _userManagement, _orderManager, _orderHistoryManager); }
public void InitTest() { _orderRepository = Substitute.For<IOrderRepository>(); _orderHistoryManager = Substitute.For<IOrderHistoryManager>(); _orderDocumentsRepository = Substitute.For<IOrderDocumentsRepository>(); _appraiserOrderRepository = Substitute.For<IAppraiserOrderRepository>(); _securityContext = Substitute.For<ISecurityContext>(); _referenceManagement = Substitute.For<IReferenceManagement>(); _documentService = Substitute.For<IDocumentService>(); _businessDaysCalc = Substitute.For<IBusinessDaysCalc>(); _appraiserUserRepository = Substitute.For<IAppraiserUserRepository>(); _configurationHelper = Substitute.For<IConfigurationHelper>(); _referenceManagement.GetTestOrderData().Returns(new Dictionary<OrderField, string>() { {OrderField.AppraisalForm, "1"}, {OrderField.AppraisalTypeId, "1"}, {OrderField.BorrowerFirstName, "Borrower"}, {OrderField.BorrowerLastName, "Test"}, {OrderField.ClientCompanyBrancheId, "1"}, {OrderField.ClientCompanyId, "1"}, {OrderField.ContactName, ""}, {OrderField.ContactPhone, "111-111-1111"}, {OrderField.ContactRoleId, "1"}, {OrderField.CreatedByClientUserId, "1"}, {OrderField.GFEAmount, "130"}, {OrderField.LoanNumber, "test"}, {OrderField.LoanPurposeTypeId, "5"}, {OrderField.LoanTypeId, "1"}, {OrderField.OccupancyTypeId, "1"}, {OrderField.OrderPublicId, "TEST_ORDER"}, {OrderField.PropertyCity, "Anytown"}, {OrderField.PropertyCounty, "Anycounty"}, {OrderField.PropertyState, "CA"}, {OrderField.PropertyStreet, "111 Main St"}, {OrderField.PropertyTypeId, "1"}, {OrderField.PropertyZip, "95630"}, {OrderField.PurchaseContractFileName, "AGREEMENT TO PURCHASE REAL ESTATE.pdf"}, {OrderField.PurchasePrice, "500000"} }); _target = new TestOrderManager( _orderRepository, _orderHistoryManager, _appraiserOrderRepository, _securityContext, _orderDocumentsRepository, _referenceManagement, _documentService, _businessDaysCalc, _appraiserUserRepository, _configurationHelper ); }
public AppraiserOrderDeliveryService(ITaskManager taskManager, IAppraiserOrderRepository appraiserOrderRepository, ICommitProvider commitProvider, IOrderManager orderManager, DateTimeManager dateTimeManager, IOrderHistoryManager orderHistoryManager, IAppraiserOrderSetPointsRepository appraiserOrderSetPointsRepository, IAppraiserOrderListItemRepository appraiserOrderListItemRepository, IOrderPeriodicalNotificationManager orderPeriodicalNotificationManager) { _taskManager = ValidationUtil.CheckOnNullAndThrowIfNull(taskManager); _appraiserOrderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderRepository); _commitProvider = ValidationUtil.CheckOnNullAndThrowIfNull(commitProvider); _orderManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderManager); _dateTimeManager = ValidationUtil.CheckOnNullAndThrowIfNull(dateTimeManager); _orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager); _appraiserOrderSetPointsRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderSetPointsRepository); _appraiserOrderListItemRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderListItemRepository); _orderPeriodicalNotificationManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderPeriodicalNotificationManager); }
public OrderCreationWizardController( IOrderService orderService, IAppraisalFormsService appraisalFormsService, IClientCompaniesListService clientCompaniesListService, ICreditCardService creditCardService, IDocumentService documentService, ITaskManager taskManager, IOrderHistoryManager orderHistoryManager, IReferenceManagement referenceManager) { _orderService = orderService; _appraisalFormsService = appraisalFormsService; _clientCompaniesService = clientCompaniesListService; _creditCardService = creditCardService; _documentService = documentService; _taskManager = taskManager; _orderHistoryManager = orderHistoryManager; _referenceManager = referenceManager; }
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 OrderManager(IOrderRepository orderRepository, IClientUserRepository clientUserRepository, IReferenceManagement referenceManagement, IAppraiserManagement appraiserManagement, IConfigurationHelper configurationHelper, IAppraiserOrderRepository appraiserOrderRepository, IChangeTrackingRepository changeTrackingRepository, IOrderHistoryManager orderHistoryManager, IOrderDocumentsRepository orderDocumentsRepository ) { _orderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(orderRepository); _clientUserRepository = ValidationUtil.CheckOnNullAndThrowIfNull(clientUserRepository); _referenceManagement = ValidationUtil.CheckOnNullAndThrowIfNull(referenceManagement); _appraiserManagement = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserManagement); _configurationHelper = ValidationUtil.CheckOnNullAndThrowIfNull(configurationHelper); _appraiserOrderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderRepository); _addressManager = new AddressManager(_referenceManagement); _changeTrackingRepository = ValidationUtil.CheckOnNullAndThrowIfNull(changeTrackingRepository); _orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager); _orderDocumentsRepository = ValidationUtil.CheckOnNullAndThrowIfNull(orderDocumentsRepository); }
public TestOrderManager( IOrderRepository orderRepository, IOrderHistoryManager orderHistoryManager, IAppraiserOrderRepository appraiserOrderRepository, ISecurityContext securityContext, IOrderDocumentsRepository orderDocumentsRepository, IReferenceManagement referenceManagement, IDocumentService documentService, IBusinessDaysCalc businessDaysCalc, IAppraiserUserRepository appraiserUserRepository, IConfigurationHelper configurationHelper) { _orderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(orderRepository); _orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager); _appraiserOrderRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserOrderRepository); _securityContext = ValidationUtil.CheckOnNullAndThrowIfNull(securityContext); _orderDocumentsRepository = ValidationUtil.CheckOnNullAndThrowIfNull(orderDocumentsRepository); _referenceManagement = ValidationUtil.CheckOnNullAndThrowIfNull(referenceManagement); _documentService = ValidationUtil.CheckOnNullAndThrowIfNull(documentService); _businessDaysCalc = ValidationUtil.CheckOnNullAndThrowIfNull(businessDaysCalc); _appraiserUserRepository = ValidationUtil.CheckOnNullAndThrowIfNull(appraiserUserRepository); _configurationHelper = ValidationUtil.CheckOnNullAndThrowIfNull(configurationHelper); }
public OrderHistoryNotesService(IOrderHistoryManager orderHistoryManager) { _orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager); }
public DvsUserDashboardManager(IOrderHistoryManager orderHistoryManager, IDvsUserDashboardRepository dvsUserDashboardRepository) { _orderHistoryManager = ValidationUtil.CheckOnNullAndThrowIfNull(orderHistoryManager); _dvsUserDashboardRepository = ValidationUtil.CheckOnNullAndThrowIfNull(dvsUserDashboardRepository); }
public ImportantDatesService(IOrderHistoryManager orderHistoryManager) { _orderHistoryManager = orderHistoryManager; }