ACCRUAL_END_DATE, 1.0, NOTIONAL, PRICE_INDEX, LAST_KNOWN_FIXING_DATE.minusDays(1), MONTH_LAG, 3, MATURITY, REFERENCE_START_DATES, REFERENCE_END_DATE, WEIGHT, STRIKE, IS_CAP);
assertFalse(ZERO_COUPON_CAP_DEFINITION.equals(modified));
modified = new CapFloorInflationZeroCouponInterpolationDefinition(CUR, PAYMENT_DATE, ACCRUAL_START_DATE,
ACCRUAL_END_DATE, 1.0, NOTIONAL, PRICE_INDEX, LAST_KNOWN_FIXING_DATE, MONTH_LAG - 1, 3, MATURITY, REFERENCE_START_DATES, REFERENCE_END_DATE, WEIGHT, STRIKE, IS_CAP);
assertFalse(ZERO_COUPON_CAP_DEFINITION.equals(modified));
final IndexPrice modifiedPriceIndex = new IndexPrice("US CPI x", Currency.USD);
modified = new CapFloorInflationZeroCouponInterpolationDefinition(CUR, PAYMENT_DATE, ACCRUAL_START_DATE,
ACCRUAL_END_DATE, 1.0, NOTIONAL, modifiedPriceIndex, LAST_KNOWN_FIXING_DATE, MONTH_LAG, 3, MATURITY, REFERENCE_START_DATES, REFERENCE_END_DATE, WEIGHT, STRIKE, IS_CAP);
assertFalse(ZERO_COUPON_CAP_DEFINITION.equals(modified));
}