public NoticeWorkedNotPaidCalculationsServiceTests()
        {
            _noticeWorkedNotPaidCalculationService = new NoticeWorkedNotPaidCalculationService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public RedundancyPaymentCalculationServiceTests()
        {
            _redundancyPaymentCalculationService = new RedundancyPaymentCalculationsService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public ConfigValueLookupHelperTests()
        {
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _confLookupRoot = testConfigLookupDataHelper.PopulateConfigLookupRoot();
            _configOptions  = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public BasicAwardCalculationServiceTests()
        {
            _service = new BasicAwardCalculationService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
Exemple #5
0
        public CompensatoryNoticePayCalculationServiceTests()
        {
            _service = new CompensatoryNoticePayCalculationService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public HolidayTakenNotPaidCalculationsServiceTests()
        {
            _holidayTakenNotPaidCalculationService = new HolidayTakenNotPaidCalculationService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
Exemple #7
0
        public ProjectedNoticeDateCalculationServiceTests()
        {
            _service = new ProjectedNoticeDateCalculationService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
Exemple #8
0
        public RefundOfNotionalTaxCalculationServiceTests()
        {
            _refundOfNotionalTaxCalculationService = new RefundOfNotionalTaxCalculationService();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public NoticeCalculationsServiceTests()
        {
            _nwnpService = new NoticeWorkedNotPaidCalculationService();
            _cnpService  = new CompensatoryNoticePayCalculationService();
            _noticeCalculationsServiceTests = new NoticeCalculationService(_nwnpService, _cnpService);
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public HolidayCalculationsServiceTests()
        {
            _hpaService  = new Mock <IHolidayPayAccruedCalculationService>();
            _htnpService = new Mock <IHolidayTakenNotPaidCalculationService>();
            _service     = new HolidayCalculationService(_hpaService.Object, _htnpService.Object);

            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public APPACalculationsServiceTests()
        {
            _apService = new Mock <IArrearsOfPayCalculationsService>();
            _paService = new Mock <IProtectiveAwardCalculationService>();
            _service   = new APPACalculationService(_apService.Object, _paService.Object);

            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }
        public HolidayControllerTests()
        {
            _mockLogger = new Mock <ILogger <HolidayController> >();
            _mockLogger.Setup(x => x.Log(It.IsAny <LogLevel>(),
                                         It.IsAny <EventId>(),
                                         It.IsAny <FormattedLogValues>(),
                                         It.IsAny <Exception>(),
                                         It.IsAny <Func <object, Exception, string> >()));
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _confOptions = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
            _service     = new Mock <IHolidayCalculationService>();
        }
        public RedundancyPaymentControllerTests()
        {
            _mockLogger = new Mock <ILogger <RedundancyPaymentController> >();
            _mockLogger.Setup(x => x.Log(It.IsAny <LogLevel>(),
                                         It.IsAny <EventId>(),
                                         It.IsAny <FormattedLogValues>(),
                                         It.IsAny <Exception>(),
                                         It.IsAny <Func <object, Exception, string> >()));
            _redundancyPaymentControllerTestDataGenerator = new RedundancyPaymentTestsDataGenerator();
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _confOptions = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
            _mockService = new Mock <IRedundanyPayCalculationsService>();
        }
Exemple #14
0
        public NoticeCalculationExtensionsTests()
        {
            var testConfigLookupDataHelper = new TestConfigLookupDataHelper();

            _options = Options.Create(testConfigLookupDataHelper.PopulateConfigLookupRoot());
        }