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);
        }
        public void GetAllCaConsumerPriceIndex()
        {
            ICaliforniaConsumerPriceIndexRepository repository = new CaliforniaConsumerPriceIndexRepository(_context, _sysTypeRepository);
            var caConsumerPriceIndexes = repository.List().ToList();

            caConsumerPriceIndexes.ShouldNotBeEmpty();
            caConsumerPriceIndexes.Count().ShouldBe(2);
        }