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; }
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 AVMRequestManager(IAvmRequestsRepository avmRequestsRepository) { _avmRequestsRepository = avmRequestsRepository; }