//-------------------------------------------------------------------------
        public virtual void coverage()
        {
            InflationRateSwapLegConvention test = InflationRateSwapLegConvention.builder().index(GB_HICP).lag(LAG_3M).build();

            coverImmutableBean(test);
            InflationRateSwapLegConvention test2 = InflationRateSwapLegConvention.builder().index(GB_HICP).lag(LAG_4M).indexCalculationMethod(PriceIndexCalculationMethod.INTERPOLATED).notionalExchange(true).build();

            coverBeanEquals(test, test2);
        }
        public virtual void test_builderAllSpecified()
        {
            InflationRateSwapLegConvention test = InflationRateSwapLegConvention.builder().index(GB_HICP).lag(LAG_3M).indexCalculationMethod(PriceIndexCalculationMethod.INTERPOLATED).notionalExchange(true).build();

            assertEquals(test.Index, GB_HICP);
            assertEquals(test.Lag, LAG_3M);
            assertEquals(test.IndexCalculationMethod, PriceIndexCalculationMethod.INTERPOLATED);
            assertEquals(test.NotionalExchange, true);
            assertEquals(test.Currency, GBP);
        }
        public virtual void test_builder()
        {
            InflationRateSwapLegConvention test = InflationRateSwapLegConvention.builder().index(GB_HICP).lag(LAG_3M).build();

            assertEquals(test.Index, GB_HICP);
            assertEquals(test.Lag, LAG_3M);
            assertEquals(test.IndexCalculationMethod, MONTHLY);
            assertEquals(test.NotionalExchange, false);
            assertEquals(test.Currency, GBP);
        }