public LegalEntityOrchestratorTests()
 {
     _mockLogger        = new Mock <ILogger <LegalEntityOrchestrator> >();
     _mockClient        = new Mock <IProviderVacancyClient>();
     _mockVacancyClient = new Mock <IRecruitVacancyClient>();
     _orchestrator      = new LegalEntityOrchestrator(_mockClient.Object, _mockVacancyClient.Object, _mockLogger.Object);
     _testVacancy       = GetTestVacancy();
 }
Example #2
0
 public LegalEntityController(LegalEntityOrchestrator orchestrator, IHostingEnvironment hostingEnvironment)
     : base(hostingEnvironment)
 {
     _orchestrator = orchestrator;
 }