### Question:
TermDepositCurveNode implements CurveNode, ImmutableBean, Serializable { public static TermDepositCurveNode of(TermDepositTemplate template, ObservableId rateId) { return of(template, rateId, 0d); } private  TermDepositCurveNode(
      TermDepositTemplate template,
      ObservableId rateId,
      double additionalSpread,
      String label,
      CurveNodeDate date,
      CurveNodeDateOrder dateOrder); static TermDepositCurveNode of(TermDepositTemplate template, ObservableId rateId); static TermDepositCurveNode of(TermDepositTemplate template, ObservableId rateId, double additionalSpread); static TermDepositCurveNode of(
      TermDepositTemplate template,
      ObservableId rateId,
      double additionalSpread,
      String label); @Override Set<ObservableId> requirements(); @Override LocalDate date(LocalDate valuationDate, ReferenceData refData); @Override DatedParameterMetadata metadata(LocalDate valuationDate, ReferenceData refData); @Override TermDepositTrade trade(double quantity, MarketData marketData, ReferenceData refData); @Override ResolvedTermDepositTrade resolvedTrade(double quantity, MarketData marketData, ReferenceData refData); @Override ResolvedTermDepositTrade sampleResolvedTrade(
      LocalDate valuationDate,
      FxRateProvider fxProvider,
      ReferenceData refData); @Override double initialGuess(MarketData marketData, ValueType valueType); TermDepositCurveNode withDate(CurveNodeDate date); static TermDepositCurveNode.Meta meta(); static TermDepositCurveNode.Builder builder(); @Override TermDepositCurveNode.Meta metaBean(); TermDepositTemplate getTemplate(); ObservableId getRateId(); double getAdditionalSpread(); @Override String getLabel(); CurveNodeDate getDate(); @Override CurveNodeDateOrder getDateOrder(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { TermDepositCurveNode test = TermDepositCurveNode.of(TEMPLATE, QUOTE_ID, SPREAD); coverImmutableBean(test); TermDepositCurveNode test2 = TermDepositCurveNode.of( TermDepositTemplate.of(Period.ofMonths(1), CONVENTION), QuoteId.of(StandardId.of("OG-Ticker", "Deposit2"))); coverBeanEquals(test, test2); }
@Test public void test_serialization() { TermDepositCurveNode test = TermDepositCurveNode.of(TEMPLATE, QUOTE_ID, SPREAD); assertSerialization(test); }