Exemple #1
0
        public GetJobOfferSkillDetailQueryHandlerTests()
        {
            _mockJobOfferSkillRepository = MockJobOfferSkillRepository.GetJobOfferSkillRepository();
            _mockLogger = new Mock <ILogger <GetJobOfferSkillDetailQueryHandler> >();

            var mapperConfig = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <AutoMapperProfile>();
            });

            _mapper = mapperConfig.CreateMapper();
        }
        public UpdateJobOfferSkillCommandHandlerTests()
        {
            _mockJobOfferSkillRepository = MockJobOfferSkillRepository.GetJobOfferSkillRepository();
            _mockLogger = new Mock <ILogger <UpdateJobOfferSkillCommandHandler> >();

            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <AutoMapperProfile>();
            });

            _mapper = configurationProvider.CreateMapper();
        }
        public CreateJobOfferSkillCommandHandlerTests()
        {
            _mockJobOfferRepository            = MockJobOfferRepository.GetJobOffersRepository();
            _mockJobOfferRequirementRepository = MockJobOfferSkillRepository.GetJobOfferSkillRepository();
            _mockUriService = MockUriService.GetUriService();
            _mockLogger     = new Mock <ILogger <CreateJobOfferSkillCommandHandler> >();

            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <AutoMapperProfile>();
            });

            _mapper = configurationProvider.CreateMapper();
        }
 public DeleteJobOfferSkillCommandHandlerTests()
 {
     _mockJobOfferSkillRepository = MockJobOfferSkillRepository.GetJobOfferSkillRepository();
     _mockLogger = new Mock <ILogger <DeleteJobOfferSkillCommandHandler> >();
 }