public void Setup()
            {
                MockRecruitVacancyClient.Setup(x => x.GetVacancyAsync(Vacancy.Id)).ReturnsAsync(Vacancy);
                MockRecruitVacancyClient.Setup(x => x.GetCandidateSkillsAsync()).ReturnsAsync(GetBasicSkills());
                MockRecruitVacancyClient.Setup(x => x.Validate(Vacancy, ValidationRules)).Returns(new EntityValidationResult());
                MockRecruitVacancyClient.Setup(x => x.UpdateDraftVacancyAsync(It.IsAny <Vacancy>(), User));
                MockRecruitVacancyClient.Setup(x => x.UpdateEmployerProfileAsync(It.IsAny <EmployerProfile>(), User));

                Sut = new SkillsOrchestrator(MockClient.Object, MockRecruitVacancyClient.Object, Mock.Of <ILogger <SkillsOrchestrator> >(), Mock.Of <IReviewSummaryService>());
            }
        public SkillOrchestratorTests()
        {
            var mockLogger = new Mock<ILogger<SkillsOrchestrator>>();
            var candidateSkills = GetBaseSkills();
            var mockClient = new Mock<IProviderVacancyClient>();
            _mockVacancyClient = new Mock<IRecruitVacancyClient>();
            _orchestrator = new SkillsOrchestrator(mockClient.Object, _mockVacancyClient.Object, mockLogger.Object, Mock.Of<IReviewSummaryService>());
            _testVacancy = GetTestVacancy();

            _mockVacancyClient.Setup(x => x.GetCandidateSkillsAsync()).ReturnsAsync(candidateSkills);
        }
 public SkillsController(SkillsOrchestrator orchestrator, IFeature feature)
 {
     _orchestrator = orchestrator;
     _feature      = feature;
 }
 public SkillsController(SkillsOrchestrator orchestrator)
 {
     _orchestrator = orchestrator;
 }