### Question:
KnownAmountNotionalSwapPaymentPeriod implements NotionalPaymentPeriod, ImmutableBean, Serializable { public static KnownAmountNotionalSwapPaymentPeriod.Builder builder() { return new KnownAmountNotionalSwapPaymentPeriod.Builder(); } private  KnownAmountNotionalSwapPaymentPeriod(
      Payment payment,
      LocalDate startDate,
      LocalDate endDate,
      LocalDate unadjustedStartDate,
      LocalDate unadjustedEndDate,
      CurrencyAmount notionalAmount,
      FxIndexObservation fxResetObservation); static KnownAmountNotionalSwapPaymentPeriod of(
      Payment payment,
      SchedulePeriod period,
      CurrencyAmount notional); static KnownAmountNotionalSwapPaymentPeriod of(
      Payment payment,
      SchedulePeriod period,
      CurrencyAmount notional,
      FxIndexObservation fxResetObservation); @Override LocalDate getPaymentDate(); @Override Currency getCurrency(); @Override KnownAmountNotionalSwapPaymentPeriod adjustPaymentDate(TemporalAdjuster adjuster); @Override void collectIndices(ImmutableSet.Builder<Index> builder); static KnownAmountNotionalSwapPaymentPeriod.Meta meta(); static KnownAmountNotionalSwapPaymentPeriod.Builder builder(); @Override KnownAmountNotionalSwapPaymentPeriod.Meta metaBean(); Payment getPayment(); @Override LocalDate getStartDate(); @Override LocalDate getEndDate(); LocalDate getUnadjustedStartDate(); LocalDate getUnadjustedEndDate(); @Override CurrencyAmount getNotionalAmount(); @Override Optional<FxIndexObservation> getFxResetObservation(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { KnownAmountNotionalSwapPaymentPeriod test = KnownAmountNotionalSwapPaymentPeriod.builder() .payment(PAYMENT_2014_10_03) .startDate(DATE_2014_03_30) .unadjustedStartDate(DATE_2014_03_30) .endDate(DATE_2014_10_01) .unadjustedEndDate(DATE_2014_09_30) .notionalAmount(GBP_P50000) .build(); coverImmutableBean(test); KnownAmountNotionalSwapPaymentPeriod test2 = KnownAmountNotionalSwapPaymentPeriod.builder() .payment(PAYMENT_2014_10_03.negated()) .startDate(DATE_2014_06_30) .endDate(DATE_2014_09_30) .notionalAmount(GBP_P1000) .build(); coverBeanEquals(test, test2); }
@Test public void test_serialization() { KnownAmountNotionalSwapPaymentPeriod test = KnownAmountNotionalSwapPaymentPeriod.builder() .payment(PAYMENT_2014_10_03) .startDate(DATE_2014_03_30) .unadjustedStartDate(DATE_2014_03_30) .endDate(DATE_2014_10_01) .unadjustedEndDate(DATE_2014_09_30) .notionalAmount(GBP_P50000) .build(); assertSerialization(test); }