### Question:
DiscountingTermDepositTradePricer { public PointSensitivities parSpreadSensitivity(ResolvedTermDepositTrade trade, RatesProvider provider) { return productPricer.parSpreadSensitivity(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_parSpreadSensitivity() { PointSensitivities ptsTrade = PRICER_TRADE.parSpreadSensitivity(RDEPOSIT_TRADE, IMM_PROV); PointSensitivities ptsProduct = PRICER_PRODUCT.parSpreadSensitivity(RDEPOSIT_PRODUCT, IMM_PROV); assertThat(ptsTrade.equalWithTolerance(ptsProduct, TOLERANCE_PV_DELTA)).isTrue(); }