private static PriceIndex parsePriceIndex(CsvRow row)
        {
            string    name      = row.getField(NAME_FIELD);
            Currency  currency  = Currency.parse(row.getField(CURRENCY_FIELD));
            Country   region    = Country.of(row.getField(COUNTRY_FIELD));
            bool      active    = bool.Parse(row.getField(ACTIVE_FIELD));
            Frequency frequency = Frequency.parse(row.getField(PUBLICATION_FREQUENCY_FIELD));

            // build result
            return(ImmutablePriceIndex.builder().name(name).currency(currency).region(region).active(active).publicationFrequency(frequency).build());
        }
 //-------------------------------------------------------------------------
 public virtual void coverage()
 {
     coverPrivateConstructor(typeof(PriceIndices));
     coverImmutableBean((ImmutableBean)PriceIndices.US_CPI_U);
     coverBeanEquals((ImmutableBean)PriceIndices.US_CPI_U, ImmutablePriceIndex.builder().name("Test").region(Country.AR).currency(Currency.ARS).publicationFrequency(Frequency.P6M).build());
 }