### Question:
IborRateSwapLegConvention implements SwapLegConvention, ImmutableBean, Serializable { public static IborRateSwapLegConvention.Builder builder() { return new IborRateSwapLegConvention.Builder(); } private  IborRateSwapLegConvention(
      IborIndex index,
      Currency currency,
      DayCount dayCount,
      Frequency accrualFrequency,
      BusinessDayAdjustment accrualBusinessDayAdjustment,
      BusinessDayAdjustment startDateBusinessDayAdjustment,
      BusinessDayAdjustment endDateBusinessDayAdjustment,
      StubConvention stubConvention,
      RollConvention rollConvention,
      FixingRelativeTo fixingRelativeTo,
      DaysAdjustment fixingDateOffset,
      Frequency paymentFrequency,
      DaysAdjustment paymentDateOffset,
      CompoundingMethod compoundingMethod,
      boolean notionalExchange); static IborRateSwapLegConvention of(IborIndex index); Currency getCurrency(); DayCount getDayCount(); Frequency getAccrualFrequency(); BusinessDayAdjustment getAccrualBusinessDayAdjustment(); BusinessDayAdjustment getStartDateBusinessDayAdjustment(); BusinessDayAdjustment getEndDateBusinessDayAdjustment(); StubConvention getStubConvention(); RollConvention getRollConvention(); FixingRelativeTo getFixingRelativeTo(); DaysAdjustment getFixingDateOffset(); Frequency getPaymentFrequency(); DaysAdjustment getPaymentDateOffset(); CompoundingMethod getCompoundingMethod(); RateCalculationSwapLeg toLeg(
      LocalDate startDate,
      LocalDate endDate,
      PayReceive payReceive,
      double notional); RateCalculationSwapLeg toLeg(
      LocalDate startDate,
      LocalDate endDate,
      PayReceive payReceive,
      double notional,
      double spread); static IborRateSwapLegConvention.Meta meta(); static IborRateSwapLegConvention.Builder builder(); @Override IborRateSwapLegConvention.Meta metaBean(); IborIndex getIndex(); 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() { IborRateSwapLegConvention test = IborRateSwapLegConvention.builder() .index(GBP_LIBOR_3M) .build(); coverImmutableBean(test); IborRateSwapLegConvention test2 = IborRateSwapLegConvention.builder() .index(GBP_LIBOR_3M) .currency(USD) .dayCount(ACT_360) .accrualFrequency(P6M) .accrualBusinessDayAdjustment(BDA_FOLLOW) .startDateBusinessDayAdjustment(BDA_FOLLOW) .endDateBusinessDayAdjustment(BDA_FOLLOW) .stubConvention(LONG_INITIAL) .rollConvention(RollConventions.EOM) .fixingRelativeTo(PERIOD_END) .fixingDateOffset(MINUS_FIVE_DAYS) .paymentFrequency(P6M) .paymentDateOffset(PLUS_TWO_DAYS) .notionalExchange(true) .build(); coverBeanEquals(test, test2); }
@Test public void test_serialization() { IborRateSwapLegConvention test = IborRateSwapLegConvention.builder() .index(GBP_LIBOR_3M) .build(); assertSerialization(test); }