### Question:
OvernightIborSwapTemplate implements TradeTemplate, ImmutableBean, Serializable { public static OvernightIborSwapTemplate.Builder builder() { return new OvernightIborSwapTemplate.Builder(); } private  OvernightIborSwapTemplate(
      Period periodToStart,
      Tenor tenor,
      OvernightIborSwapConvention convention); static OvernightIborSwapTemplate of(Tenor tenor, OvernightIborSwapConvention convention); static OvernightIborSwapTemplate of(Period periodToStart, Tenor tenor, OvernightIborSwapConvention convention); SwapTrade createTrade(
      LocalDate tradeDate,
      BuySell buySell,
      double notional,
      double spread,
      ReferenceData refData); static OvernightIborSwapTemplate.Meta meta(); static OvernightIborSwapTemplate.Builder builder(); @Override OvernightIborSwapTemplate.Meta metaBean(); Period getPeriodToStart(); Tenor getTenor(); OvernightIborSwapConvention getConvention(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder_notEnoughData() { assertThatIllegalArgumentException() .isThrownBy(() -> OvernightIborSwapTemplate.builder() .tenor(TENOR_2Y) .build()); }