### Question:
TermDepositTemplate implements TradeTemplate, ImmutableBean, Serializable { public static TermDepositTemplate of(Period depositPeriod, TermDepositConvention convention) { ArgChecker.notNull(depositPeriod, "depositPeriod"); ArgChecker.notNull(convention, "convention"); return TermDepositTemplate.builder() .depositPeriod(depositPeriod) .convention(convention) .build(); } private  TermDepositTemplate(
      Period depositPeriod,
      TermDepositConvention convention); static TermDepositTemplate of(Period depositPeriod, TermDepositConvention convention); TermDepositTrade createTrade(
      LocalDate tradeDate,
      BuySell buySell,
      double notional,
      double rate,
      ReferenceData refData); static TermDepositTemplate.Meta meta(); static TermDepositTemplate.Builder builder(); @Override TermDepositTemplate.Meta metaBean(); Period getDepositPeriod(); TermDepositConvention getConvention(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { TermDepositTemplate test1 = TermDepositTemplate.of(DEPOSIT_PERIOD, CONVENTION); coverImmutableBean(test1); TermDepositTemplate test2 = TermDepositTemplate.of(Period.ofMonths(6), ImmutableTermDepositConvention.of( "GBP-Dep", GBP, BDA_MOD_FOLLOW, ACT_365F, DaysAdjustment.ofBusinessDays(2, GBLO))); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { TermDepositTemplate test = TermDepositTemplate.of(DEPOSIT_PERIOD, CONVENTION); assertSerialization(test); }