### Question:
DiscountingTermDepositTradePricer { public PointSensitivities parRateSensitivity(ResolvedTermDepositTrade trade, RatesProvider provider) { return productPricer.parRateSensitivity(trade.getProduct(), provider); } DiscountingTermDepositTradePricer(DiscountingTermDepositProductPricer productPricer); CurrencyAmount presentValue(ResolvedTermDepositTrade trade, RatesProvider provider); PointSensitivities presentValueSensitivity(ResolvedTermDepositTrade trade, RatesProvider provider); double parRate(ResolvedTermDepositTrade trade, RatesProvider provider); PointSensitivities parRateSensitivity(ResolvedTermDepositTrade trade, RatesProvider provider); double parSpread(ResolvedTermDepositTrade trade, RatesProvider provider); PointSensitivities parSpreadSensitivity(ResolvedTermDepositTrade trade, RatesProvider provider); MultiCurrencyAmount currencyExposure(ResolvedTermDepositTrade trade, RatesProvider provider); CurrencyAmount currentCash(ResolvedTermDepositTrade trade, RatesProvider provider); static final DiscountingTermDepositTradePricer 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(); }