assertFalse("CouponArithmeticAverageONSpreadSimplified: equal-hash", CPN_AA_ON.equals(modified));
modified = CouponArithmeticAverageONSpreadSimplified.from(PAYMENT_TIME, FEDFUND_CPN_3M_2_DEF.getPaymentYearFraction() + 0.1, NOTIONAL, FEDFUND, ACCRUAL_START_TIME, ACCRUAL_END_TIME, SPREAD);
assertFalse("CouponArithmeticAverageONSpreadSimplified: equal-hash", CPN_AA_ON.equals(modified));
modified = CouponArithmeticAverageONSpreadSimplified.from(PAYMENT_TIME, FEDFUND_CPN_3M_2_DEF.getPaymentYearFraction(), NOTIONAL + 0.1, FEDFUND, ACCRUAL_START_TIME, ACCRUAL_END_TIME, SPREAD);
assertFalse("CouponArithmeticAverageONSpreadSimplified: equal-hash", CPN_AA_ON.equals(modified));
final IndexON modifiedIndex = IndexONMaster.getInstance().getIndex("EONIA");
modified = CouponArithmeticAverageONSpreadSimplified.from(PAYMENT_TIME, FEDFUND_CPN_3M_2_DEF.getPaymentYearFraction(), NOTIONAL, modifiedIndex, ACCRUAL_START_TIME, ACCRUAL_END_TIME, SPREAD);
assertFalse("CouponArithmeticAverageONSpreadSimplified: equal-hash", CPN_AA_ON.equals(modified));
modified = CouponArithmeticAverageONSpreadSimplified.from(PAYMENT_TIME, FEDFUND_CPN_3M_2_DEF.getPaymentYearFraction(), NOTIONAL, FEDFUND, ACCRUAL_START_TIME + 0.1, ACCRUAL_END_TIME, SPREAD);
assertFalse("CouponArithmeticAverageONSpreadSimplified: equal-hash", CPN_AA_ON.equals(modified));
modified = CouponArithmeticAverageONSpreadSimplified.from(PAYMENT_TIME, FEDFUND_CPN_3M_2_DEF.getPaymentYearFraction(), NOTIONAL, FEDFUND, ACCRUAL_START_TIME, ACCRUAL_END_TIME + 0.1, SPREAD + 0.1);