### Question:
SabrIborCapFloorTradePricer extends VolatilityIborCapFloorTradePricer { public PointSensitivityBuilder presentValueSensitivityModelParamsSabr( ResolvedIborCapFloorTrade trade, RatesProvider ratesProvider, SabrIborCapletFloorletVolatilities volatilities) { return productPricer.presentValueSensitivityModelParamsSabr(trade.getProduct(), ratesProvider, volatilities); } SabrIborCapFloorTradePricer(SabrIborCapFloorProductPricer productPricer, DiscountingPaymentPricer paymentPricer); PointSensitivities presentValueSensitivityRatesStickyModel(
      ResolvedIborCapFloorTrade trade,
      RatesProvider ratesProvider,
      SabrIborCapletFloorletVolatilities volatilities); PointSensitivityBuilder presentValueSensitivityModelParamsSabr(
      ResolvedIborCapFloorTrade trade,
      RatesProvider ratesProvider,
      SabrIborCapletFloorletVolatilities volatilities); static final SabrIborCapFloorTradePricer DEFAULT; }### Answer:
@Test public void test_presentValueSensitivityModelParamsSabr() { PointSensitivities computedWithPayLeg = PRICER.presentValueSensitivityModelParamsSabr(TRADE_PAYLEG, RATES, VOLS).build(); PointSensitivities computedWithPremium = PRICER.presentValueSensitivityModelParamsSabr(TRADE_PREMIUM, RATES, VOLS).build(); PointSensitivities pvOneLeg = PRICER_PRODUCT.presentValueSensitivityModelParamsSabr(CAP_ONE_LEG, RATES, VOLS).build(); PointSensitivities pvTwoLegs = PRICER_PRODUCT.presentValueSensitivityModelParamsSabr(CAP_TWO_LEGS, RATES, VOLS).build(); assertThat(computedWithPayLeg).isEqualTo(pvTwoLegs); assertThat(computedWithPremium).isEqualTo(pvOneLeg); }