Beispiel #1
0
		public DocumentsController(IOrderDocumentsService orderDocumentService, IAVMRequestManager avmRequestManager, IDocumentService documentService)
		{
			if (ReferenceEquals(null, orderDocumentService)) throw new ArgumentNullException("communicationService");

			_orderDocumentService = orderDocumentService;
            _avmRequestManager = avmRequestManager;
            _documentService = documentService;
		}
Beispiel #2
0
		public ACIController(IOrderDocumentsService orderDocumentsService, IOrderFulfillmentService orderFulfillmentService, IOrderManager orderManager, IDocumentService documentService)
		{
			_orderDocumentsService = orderDocumentsService;
			_orderFulfillmentService = orderFulfillmentService;
			_documentService = documentService;
			_hotSpotDataFolder = new ConfigHelper().HotSpotDataFolder;
			_orderManager = orderManager;
		}
Beispiel #3
0
		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);
		}