### Question:
FixedCouponBondSecurity implements LegalEntitySecurity, ImmutableBean, Serializable { public static FixedCouponBondSecurity.Builder builder() { return new FixedCouponBondSecurity.Builder(); } private  FixedCouponBondSecurity(
      SecurityInfo info,
      Currency currency,
      double notional,
      PeriodicSchedule accrualSchedule,
      double fixedRate,
      DayCount dayCount,
      FixedCouponBondYieldConvention yieldConvention,
      LegalEntityId legalEntityId,
      DaysAdjustment settlementDateOffset,
      DaysAdjustment exCouponPeriod); @Override ImmutableSet<SecurityId> getUnderlyingIds(); @Override FixedCouponBondSecurity withInfo(SecurityInfo info); @Override FixedCouponBond createProduct(ReferenceData refData); @Override FixedCouponBondTrade createTrade(TradeInfo info, double quantity, double tradePrice, ReferenceData refData); @Override FixedCouponBondPosition createPosition(PositionInfo positionInfo, double quantity, ReferenceData refData); @Override FixedCouponBondPosition createPosition(
      PositionInfo positionInfo,
      double longQuantity,
      double shortQuantity,
      ReferenceData refData); static FixedCouponBondSecurity.Meta meta(); static FixedCouponBondSecurity.Builder builder(); @Override FixedCouponBondSecurity.Meta metaBean(); @Override SecurityInfo getInfo(); @Override Currency getCurrency(); double getNotional(); PeriodicSchedule getAccrualSchedule(); double getFixedRate(); DayCount getDayCount(); FixedCouponBondYieldConvention getYieldConvention(); @Override LegalEntityId getLegalEntityId(); DaysAdjustment getSettlementDateOffset(); DaysAdjustment getExCouponPeriod(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_builder_fail() { assertThatIllegalArgumentException() .isThrownBy(() -> FixedCouponBondSecurity.builder() .info(INFO) .dayCount(DAY_COUNT) .fixedRate(FIXED_RATE) .legalEntityId(LEGAL_ENTITY) .currency(EUR) .notional(NOTIONAL) .accrualSchedule(PERIOD_SCHEDULE) .settlementDateOffset(DATE_OFFSET) .yieldConvention(YIELD_CONVENTION) .exCouponPeriod(DaysAdjustment.ofBusinessDays(EX_COUPON_DAYS, EUTA, BUSINESS_ADJUST)) .build()); assertThatIllegalArgumentException() .isThrownBy(() -> FixedCouponBondSecurity.builder() .info(INFO) .dayCount(DAY_COUNT) .fixedRate(FIXED_RATE) .legalEntityId(LEGAL_ENTITY) .currency(EUR) .notional(NOTIONAL) .accrualSchedule(PERIOD_SCHEDULE) .settlementDateOffset(DaysAdjustment.ofBusinessDays(-3, EUTA)) .yieldConvention(YIELD_CONVENTION) .build()); }