### Question:
TermDepositTemplate implements TradeTemplate, ImmutableBean, Serializable { public static TermDepositTemplate.Builder builder() { return new TermDepositTemplate.Builder(); } 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 test_builder_negativePeriod() { assertThatIllegalArgumentException() .isThrownBy(() -> TermDepositTemplate.builder() .convention(CONVENTION) .depositPeriod(Period.ofMonths(-2)) .build()); }