### Question:
FixedOvernightSwapTemplate implements TradeTemplate, ImmutableBean, Serializable { public static FixedOvernightSwapTemplate.Builder builder() { return new FixedOvernightSwapTemplate.Builder(); } 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 test_builder_notEnoughData() { assertThatIllegalArgumentException() .isThrownBy(() -> FixedOvernightSwapTemplate.builder() .tenor(TENOR_2Y) .build()); }