### Question:
IborFixingDeposit implements Product, Resolvable<ResolvedIborFixingDeposit>, ImmutableBean, Serializable { public static IborFixingDeposit.Builder builder() { return new IborFixingDeposit.Builder(); } private  IborFixingDeposit(
      BuySell buySell,
      Currency currency,
      double notional,
      LocalDate startDate,
      LocalDate endDate,
      BusinessDayAdjustment businessDayAdjustment,
      IborIndex index,
      DaysAdjustment fixingDateOffset,
      DayCount dayCount,
      double fixedRate); @Override ImmutableSet<Currency> allCurrencies(); @Override ResolvedIborFixingDeposit resolve(ReferenceData refData); static IborFixingDeposit.Meta meta(); static IborFixingDeposit.Builder builder(); @Override IborFixingDeposit.Meta metaBean(); BuySell getBuySell(); Currency getCurrency(); double getNotional(); LocalDate getStartDate(); LocalDate getEndDate(); Optional<BusinessDayAdjustment> getBusinessDayAdjustment(); IborIndex getIndex(); DaysAdjustment getFixingDateOffset(); DayCount getDayCount(); double getFixedRate(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder_wrongDates() { assertThatIllegalArgumentException() .isThrownBy(() -> IborFixingDeposit.builder() .buySell(SELL) .notional(NOTIONAL) .startDate(LocalDate.of(2015, 9, 19)) .endDate(END_DATE) .businessDayAdjustment(BDA_MOD_FOLLOW) .index(GBP_LIBOR_6M) .fixedRate(RATE) .build()); }
@Test public void coverage() { IborFixingDeposit test1 = IborFixingDeposit.builder() .buySell(SELL) .notional(NOTIONAL) .startDate(START_DATE) .endDate(END_DATE) .businessDayAdjustment(BDA_MOD_FOLLOW) .index(GBP_LIBOR_6M) .fixedRate(RATE) .build(); coverImmutableBean(test1); IborFixingDeposit test2 = IborFixingDeposit.builder() .buySell(BuySell.BUY) .notional(NOTIONAL) .startDate(LocalDate.of(2015, 1, 19)) .endDate(LocalDate.of(2015, 4, 19)) .businessDayAdjustment(BDA_MOD_FOLLOW) .index(GBP_LIBOR_3M) .fixedRate(0.015) .build(); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { IborFixingDeposit test = IborFixingDeposit.builder() .buySell(SELL) .notional(NOTIONAL) .startDate(START_DATE) .endDate(END_DATE) .businessDayAdjustment(BDA_MOD_FOLLOW) .index(GBP_LIBOR_6M) .fixedRate(RATE) .build(); assertSerialization(test); }