### Question:
InflationRateSwapLegConvention implements SwapLegConvention, ImmutableBean, Serializable { public static InflationRateSwapLegConvention.Builder builder() { return new InflationRateSwapLegConvention.Builder(); } private  InflationRateSwapLegConvention(
      PriceIndex index,
      Period lag,
      PriceIndexCalculationMethod indexCalculationMethod,
      boolean notionalExchange,
      DaysAdjustment paymentDateOffset,
      BusinessDayAdjustment accrualBusinessDayAdjustment); static InflationRateSwapLegConvention of(
      PriceIndex index,
      Period lag,
      PriceIndexCalculationMethod priceIndexCalculationMethod,
      BusinessDayAdjustment businessDayAdjustment); Currency getCurrency(); RateCalculationSwapLeg toLeg(
      LocalDate startDate,
      LocalDate endDate,
      PayReceive payReceive,
      double notional); static InflationRateSwapLegConvention.Meta meta(); static InflationRateSwapLegConvention.Builder builder(); @Override InflationRateSwapLegConvention.Meta metaBean(); PriceIndex getIndex(); Period getLag(); PriceIndexCalculationMethod getIndexCalculationMethod(); boolean isNotionalExchange(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder_notEnoughData() { assertThatIllegalArgumentException() .isThrownBy(() -> IborRateSwapLegConvention.builder().build()); }
@Test public 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); }