### Question:
DiscountingIborFixingDepositTradePricer { public PointSensitivities parRateSensitivity(ResolvedIborFixingDepositTrade trade, RatesProvider provider) { return productPricer.parRateSensitivity(trade.getProduct(), provider); } DiscountingIborFixingDepositTradePricer(DiscountingIborFixingDepositProductPricer productPricer); CurrencyAmount presentValue(ResolvedIborFixingDepositTrade trade, RatesProvider provider); PointSensitivities presentValueSensitivity(ResolvedIborFixingDepositTrade trade, RatesProvider provider); double parRate(ResolvedIborFixingDepositTrade trade, RatesProvider provider); PointSensitivities parRateSensitivity(ResolvedIborFixingDepositTrade trade, RatesProvider provider); double parSpread(ResolvedIborFixingDepositTrade trade, RatesProvider provider); PointSensitivities parSpreadSensitivity(ResolvedIborFixingDepositTrade trade, RatesProvider provider); static final DiscountingIborFixingDepositTradePricer DEFAULT; }### Answer:
@Test public void test_parRateSensitivity() { PointSensitivities ptsTrade = PRICER_TRADE.parRateSensitivity(RDEPOSIT_TRADE, IMM_PROV); PointSensitivities ptsProduct = PRICER_PRODUCT.parRateSensitivity(RDEPOSIT_PRODUCT, IMM_PROV); assertThat(ptsTrade.equalWithTolerance(ptsProduct, TOLERANCE_PV_DELTA)).isTrue(); }