Example #1
0
		public AvmRequestsService(IConfigurationHelper configurationHelper, ICommitProvider commitProvider, IAvmRequestsRepository avmRequestsRepository, ITaskManager taskManager, IOrderManager orderManager, IDocumentService documentService)
		{
			_configurationHelper = configurationHelper;
			_commitProvider = commitProvider;
			_avmRequestsRepository = avmRequestsRepository;
			_taskManager = taskManager;
			_orderManager = orderManager;
			_documentService = documentService;
		}
Example #2
0
		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);
		}
Example #3
0
 public AVMRequestManager(IAvmRequestsRepository avmRequestsRepository)
 {
     _avmRequestsRepository = avmRequestsRepository;
 }