Exemple #1
0
 public void Setup()
 {
     _documentSignRepositoryMock            = new Mock <IDocumentSignRepository>();
     _setSignTaskCompleteMock               = new Mock <ISetSignTaskComplete>();
     _setSigningStepCompleteMock            = new Mock <ISetSigningStepComplete>();
     _electronicSignatureProviderStatusMock = new Mock <IElectronicSignatureProviderStatus>();
     _updateDocumentStatusMock              = new Mock <IUpdateDocumentStatus>();
     _eSignatureMock      = new Mock <IESignature>();
     _documentStatusMock  = new Mock <IDocumentStatus>();
     _documentHubSettings = new DocumentHubSettings {
         NumDaysBackForStatusPoller = 5
     };
 }
Exemple #2
0
 public Status(
     IDocumentSignRepository repository,
     ISetSignTaskComplete setSignTaskComplete,
     DocumentHubSettings documentHubSettings,
     ISetSigningStepComplete setSigningStepComplete,
     IElectronicSignatureProviderStatus electronicSignatureProviderStatus,
     IUpdateDocumentStatus updateDocumentStatus,
     IESignature eSignature,
     IDocumentStatus documentStatus)
 {
     _repository                        = repository;
     _setSignTaskComplete               = setSignTaskComplete;
     _documentHubSettings               = documentHubSettings;
     _setSigningStepComplete            = setSigningStepComplete;
     _electronicSignatureProviderStatus = electronicSignatureProviderStatus;
     _updateDocumentStatus              = updateDocumentStatus;
     _eSignature                        = eSignature;
     _documentStatus                    = documentStatus;
 }