### Question:
CreditCouponPaymentPeriod implements ImmutableBean, Serializable { public static CreditCouponPaymentPeriod.Builder builder() { return new CreditCouponPaymentPeriod.Builder(); } private  CreditCouponPaymentPeriod(
      Currency currency,
      double notional,
      LocalDate startDate,
      LocalDate endDate,
      LocalDate unadjustedStartDate,
      LocalDate unadjustedEndDate,
      LocalDate effectiveStartDate,
      LocalDate effectiveEndDate,
      LocalDate paymentDate,
      double fixedRate,
      double yearFraction); static CreditCouponPaymentPeriod.Meta meta(); static CreditCouponPaymentPeriod.Builder builder(); @Override CreditCouponPaymentPeriod.Meta metaBean(); Currency getCurrency(); double getNotional(); LocalDate getStartDate(); LocalDate getEndDate(); LocalDate getUnadjustedStartDate(); LocalDate getUnadjustedEndDate(); LocalDate getEffectiveStartDate(); LocalDate getEffectiveEndDate(); LocalDate getPaymentDate(); double getFixedRate(); double getYearFraction(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { CreditCouponPaymentPeriod test1 = CreditCouponPaymentPeriod.builder() .currency(USD) .notional(NOTIONAL) .startDate(START_DATE) .endDate(END_DATE) .effectiveStartDate(EFF_START_DATE) .effectiveEndDate(EFF_END_DATE) .paymentDate(END_DATE) .fixedRate(COUPON) .yearFraction(YEAR_FRACTION) .build(); coverImmutableBean(test1); CreditCouponPaymentPeriod test2 = CreditCouponPaymentPeriod.builder() .currency(Currency.JPY) .notional(5.0e6) .startDate(START_DATE.minusDays(7)) .endDate(END_DATE.minusDays(7)) .effectiveStartDate(EFF_START_DATE.minusDays(7)) .effectiveEndDate(EFF_END_DATE.minusDays(7)) .paymentDate(END_DATE.minusDays(7)) .fixedRate(0.01) .yearFraction(0.25) .build(); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { CreditCouponPaymentPeriod test = CreditCouponPaymentPeriod.builder() .currency(USD) .notional(NOTIONAL) .startDate(START_DATE) .endDate(END_DATE) .effectiveStartDate(EFF_START_DATE) .effectiveEndDate(EFF_END_DATE) .paymentDate(END_DATE) .fixedRate(COUPON) .yearFraction(YEAR_FRACTION) .build(); assertSerialization(test); }