public void GetCaConsumerPriceIndexByYear_DoesMatchYear()
        {
            ICaliforniaConsumerPriceIndexRepository repository = new CaliforniaConsumerPriceIndexRepository(_context, _sysTypeRepository);
            var caConsumerPriceIndex = repository.GetByYear(AssessmentYearValue - 1);

            caConsumerPriceIndex.ShouldBeNull();
        }
        public void GetCaConsumerPriceIndexByYear_MatchYear()
        {
            ICaliforniaConsumerPriceIndexRepository repository = new CaliforniaConsumerPriceIndexRepository(_context, _sysTypeRepository);
            var caConsumerPriceIndex = repository.GetByYear(AssessmentYearValue);

            caConsumerPriceIndex.ShouldNotBeNull();
            caConsumerPriceIndex.InflationFactor.ShouldBe(InflationFactorValue);
        }