public ReportWorkflowCommandService( IReportsUnitOfWork unitOfWork, IWorkflowInstanceService workflowInstanceService, NumberControlProcessor numberControlProcessor, ILog log, IServiceAuthorizationPolicy authorizationPolicy, IServiceIdentityProvider identityProvider) : base(unitOfWork, log, authorizationPolicy, identityProvider) { _workflowInstanceService = CheckDependency(workflowInstanceService, "workflowInstanceService"); _numberControlProcessor = CheckDependency(numberControlProcessor, "numberControlProcessor"); }
private void SetUpNumberControl() { var numberProvider = _factory.Create <INumberProvider>(); _numberControlProcessor = new NumberControlProcessor(numberProvider.Object, _reportsUnitOfWork.Object); }
public void SetUp() { _reportsUnitOfWork = _factory.Create <IReportsUnitOfWork>(); _numberProvider = _factory.Create <INumberProvider>(); _numberControlProcessor = new NumberControlProcessor(_numberProvider.Object, _reportsUnitOfWork.Object); }