### Question:
FixedOvernightSwapTemplate implements TradeTemplate, ImmutableBean, Serializable { public static FixedOvernightSwapTemplate of(Tenor tenor, FixedOvernightSwapConvention convention) { return of(Period.ZERO, tenor, convention); } private  FixedOvernightSwapTemplate(
      Period periodToStart,
      Tenor tenor,
      FixedOvernightSwapConvention convention); static FixedOvernightSwapTemplate of(Tenor tenor, FixedOvernightSwapConvention convention); static FixedOvernightSwapTemplate of(Period periodToStart, Tenor tenor, FixedOvernightSwapConvention convention); SwapTrade createTrade(
      LocalDate tradeDate,
      BuySell buySell,
      double notional,
      double fixedRate,
      ReferenceData refData); static FixedOvernightSwapTemplate.Meta meta(); static FixedOvernightSwapTemplate.Builder builder(); @Override FixedOvernightSwapTemplate.Meta metaBean(); Period getPeriodToStart(); Tenor getTenor(); FixedOvernightSwapConvention getConvention(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { FixedOvernightSwapTemplate test = FixedOvernightSwapTemplate.of(Period.ofMonths(3), TENOR_10Y, CONV); coverImmutableBean(test); FixedOvernightSwapTemplate test2 = FixedOvernightSwapTemplate.of(Period.ofMonths(2), TENOR_2Y, CONV2); coverBeanEquals(test, test2); }
@Test public void test_serialization() { FixedOvernightSwapTemplate test = FixedOvernightSwapTemplate.of(Period.ofMonths(3), TENOR_10Y, CONV); assertSerialization(test); }