public void SetUp()
 {
     _applicationId       = Guid.NewGuid();
     _oversightReviewId   = Guid.NewGuid();
     _apiClient           = new Mock <IApplyApiClient>();
     _configuration       = new Mock <IWebConfiguration>();
     _cacheStorageService = new Mock <ICacheStorageService>();
     _dashboardAddress    = "https://dashboard";
     _orchestrator        = new OversightOrchestrator(_apiClient.Object, Mock.Of <ILogger <OversightOrchestrator> >(),
                                                      _cacheStorageService.Object);
 }
Example #2
0
 public void SetUp()
 {
     _applicationId       = Guid.NewGuid();
     _oversightReviewId   = Guid.NewGuid();
     _apiClient           = new Mock <IApplyApiClient>();
     _roatpRegisterClient = new Mock <IRoatpRegisterApiClient>();
     _configuration       = new Mock <IWebConfiguration>();
     _cacheStorageService = new Mock <ICacheStorageService>();
     _dashboardAddress    = "https://dashboard";
     _appealDetails       = new AppealDetails {
         Status = AppealStatus.Submitted,
         AppealSubmittedDate          = DateTime.Today,
         HowFailedOnEvidenceSubmitted = "how failed evidence",
         AppealFiles = new List <AppealFile> {
             new AppealFile {
                 Filename = "file.pdf"
             }
         }
     };
     _orchestrator = new OversightOrchestrator(_apiClient.Object, Mock.Of <ILogger <OversightOrchestrator> >(),
                                               _cacheStorageService.Object, _roatpRegisterClient.Object);
 }