protected IReimbursementCalculator GetCalculator()
        {
            var addressHistoryRepo = _addressHistoryMocker.GetMockedRepo();
            var driveReportRepo    = _driveReportMocker.GetMockedRepo();
            var personRepo         = _personMocker.GetMockedRepo();
            var employmentRepo     = _employmentMocker.GetMockedRepo();
            var rateTypeRepo       = _rateTypeMocker.GetMockedRepo();
            var addressRepo        = _addressMocker.GetMockedRepo();
            var route         = new RouterMock();
            var personService = GetPersonServiceMock();

            return(new ReimbursementCalculator(route, personService, personRepo, employmentRepo, addressHistoryRepo, _logger, _customSettings, rateTypeRepo, driveReportRepo, addressRepo));
        }
        protected IReimbursementCalculator GetCalculator(List <Employment> emplMockData, List <DriveReport> driveReportMockData = null)
        {
            var addressHistoryRepo = _addressHistoryMocker.GetMockedRepo();
            var driveReportRepo    = _driveReportMocker.GetMockedRepo(driveReportMockData);
            var personRepo         = _personMocker.GetMockedRepo(new List <Person>()
            {
                new Person()
                {
                    Id        = 1,
                    FirstName = "Jacob",
                    LastName  = "Jensen",
                    DistanceFromHomeToBorder = 2,
                }
            });
            var employmentRepo = _employmentMocker.GetMockedRepo(emplMockData);
            var rateTypeRepo   = _rateTypeMocker.GetMockedRepo();
            var addressRepo    = _addressMocker.GetMockedRepo();
            var route          = new RouterMock();
            var personService  = GetPersonServiceMock();

            return(new ReimbursementCalculator(route, personService, personRepo, employmentRepo, addressHistoryRepo, _logger, _customSettings, rateTypeRepo, driveReportRepo, addressRepo));
        }