### Question:
ResolvedIborFixingDeposit implements ResolvedProduct, ImmutableBean, Serializable { public static ResolvedIborFixingDeposit.Builder builder() { return new ResolvedIborFixingDeposit.Builder(); } private  ResolvedIborFixingDeposit(
      Currency currency,
      double notional,
      LocalDate startDate,
      LocalDate endDate,
      double yearFraction,
      double fixedRate,
      IborRateComputation floatingRate); static ResolvedIborFixingDeposit.Meta meta(); static ResolvedIborFixingDeposit.Builder builder(); @Override ResolvedIborFixingDeposit.Meta metaBean(); Currency getCurrency(); double getNotional(); LocalDate getStartDate(); LocalDate getEndDate(); double getYearFraction(); double getFixedRate(); IborRateComputation getFloatingRate(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder_wrongDates() { assertThatIllegalArgumentException() .isThrownBy(() -> ResolvedIborFixingDeposit.builder() .currency(GBP) .notional(NOTIONAL) .startDate(LocalDate.of(2015, 8, 20)) .endDate(END_DATE) .yearFraction(YEAR_FRACTION) .floatingRate(RATE_COMP) .fixedRate(RATE) .build()); }
@Test public void coverage() { ResolvedIborFixingDeposit test1 = ResolvedIborFixingDeposit.builder() .currency(GBP) .notional(NOTIONAL) .startDate(START_DATE) .endDate(END_DATE) .yearFraction(YEAR_FRACTION) .floatingRate(RATE_COMP) .fixedRate(RATE) .build(); coverImmutableBean(test1); ResolvedIborFixingDeposit test2 = ResolvedIborFixingDeposit.builder() .currency(GBP) .notional(-100000000d) .startDate(START_DATE) .endDate(LocalDate.of(2015, 4, 20)) .yearFraction(0.25) .floatingRate(IborRateComputation.of(GBP_LIBOR_3M, FIXING_DATE, REF_DATA)) .fixedRate(0.0375) .build(); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { ResolvedIborFixingDeposit test = ResolvedIborFixingDeposit.builder() .currency(GBP) .notional(NOTIONAL) .startDate(START_DATE) .endDate(END_DATE) .yearFraction(YEAR_FRACTION) .floatingRate(RATE_COMP) .fixedRate(RATE) .build(); assertSerialization(test); }