### Question:
HullWhiteOneFactorPiecewiseConstantParametersProvider implements ImmutableBean, Serializable { public static HullWhiteOneFactorPiecewiseConstantParametersProvider of( HullWhiteOneFactorPiecewiseConstantParameters parameters, DayCount dayCount, ZonedDateTime valuationDateTime) { return new HullWhiteOneFactorPiecewiseConstantParametersProvider(parameters, dayCount, valuationDateTime); } private  HullWhiteOneFactorPiecewiseConstantParametersProvider(
      HullWhiteOneFactorPiecewiseConstantParameters parameters,
      DayCount dayCount,
      ZonedDateTime valuationDateTime); static HullWhiteOneFactorPiecewiseConstantParametersProvider of(
      HullWhiteOneFactorPiecewiseConstantParameters parameters,
      DayCount dayCount,
      ZonedDateTime valuationDateTime); static HullWhiteOneFactorPiecewiseConstantParametersProvider of(
      HullWhiteOneFactorPiecewiseConstantParameters parameters,
      DayCount dayCount,
      LocalDate valuationDate,
      LocalTime valuationTime,
      ZoneId valuationZone); double futuresConvexityFactor(LocalDate referenceDate, LocalDate startDate, LocalDate endDate); ValueDerivatives futuresConvexityFactorAdjoint(LocalDate referenceDate, LocalDate startDate, LocalDate endDate); double relativeTime(LocalDate date); double alpha(LocalDate startDate, LocalDate endDate, LocalDate numeraireDate, LocalDate maturityDate); ValueDerivatives alphaAdjoint(
      LocalDate startDate,
      LocalDate endDate,
      LocalDate numeraireDate,
      LocalDate maturityDate); HullWhiteOneFactorPiecewiseConstantInterestRateModel getModel(); static HullWhiteOneFactorPiecewiseConstantParametersProvider.Meta meta(); @Override HullWhiteOneFactorPiecewiseConstantParametersProvider.Meta metaBean(); HullWhiteOneFactorPiecewiseConstantParameters getParameters(); DayCount getDayCount(); ZonedDateTime getValuationDateTime(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { HullWhiteOneFactorPiecewiseConstantParametersProvider test1 = HullWhiteOneFactorPiecewiseConstantParametersProvider.of(PARAMETERS, ACT_360, DATE_TIME); coverImmutableBean(test1); HullWhiteOneFactorPiecewiseConstantParameters params = HullWhiteOneFactorPiecewiseConstantParameters.of( 0.02, DoubleArray.of(0.01, 0.011, 0.014), DoubleArray.of(0.5, 5.0)); HullWhiteOneFactorPiecewiseConstantParametersProvider test2 = HullWhiteOneFactorPiecewiseConstantParametersProvider.of(params, ACT_ACT_ISDA, DATE_TIME.plusDays(1)); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { HullWhiteOneFactorPiecewiseConstantParametersProvider test = HullWhiteOneFactorPiecewiseConstantParametersProvider.of(PARAMETERS, ACT_360, DATE_TIME); assertSerialization(test); }