### Question:
TenorCdsTemplate implements CdsTemplate, ImmutableBean, Serializable { public static TenorCdsTemplate of(AccrualStart accrualStart, Tenor tenor, CdsConvention convention) { return new TenorCdsTemplate(accrualStart, tenor, convention); } private  TenorCdsTemplate(
      AccrualStart accrualStart,
      Tenor tenor,
      CdsConvention convention); static TenorCdsTemplate of(AccrualStart accrualStart, Tenor tenor, CdsConvention convention); static TenorCdsTemplate of(Tenor tenor, CdsConvention convention); @Override CdsTrade createTrade(
      StandardId legalEntityId,
      LocalDate tradeDate,
      BuySell buySell,
      double notional,
      double fixedRate,
      ReferenceData refData); @Override CdsTrade createTrade(
      StandardId legalEntityId,
      LocalDate tradeDate,
      BuySell buySell,
      double notional,
      double fixedRate,
      AdjustablePayment upFrontFee,
      ReferenceData refData); static TenorCdsTemplate.Meta meta(); @Override TenorCdsTemplate.Meta metaBean(); AccrualStart getAccrualStart(); Tenor getTenor(); @Override CdsConvention getConvention(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_serialization() { TenorCdsTemplate test = TenorCdsTemplate.of(TENOR_10Y, CONV1); assertSerialization(test); }
@Test public void coverage() { TenorCdsTemplate test1 = TenorCdsTemplate.of(TENOR_10Y, CONV1); coverImmutableBean(test1); TenorCdsTemplate test2 = TenorCdsTemplate.of(AccrualStart.NEXT_DAY, TENOR_10Y, CONV2); coverBeanEquals(test1, test2); }