### Question:
DiscountingFxSwapProductPricer { public PointSensitivities presentValueSensitivity(ResolvedFxSwap swap, RatesProvider provider) { PointSensitivities nearSens = fxPricer.presentValueSensitivity(swap.getNearLeg(), provider); PointSensitivities farSens = fxPricer.presentValueSensitivity(swap.getFarLeg(), provider); return nearSens.combinedWith(farSens); } DiscountingFxSwapProductPricer(
      DiscountingFxSingleProductPricer fxPricer); MultiCurrencyAmount presentValue(ResolvedFxSwap swap, RatesProvider provider); PointSensitivities presentValueSensitivity(ResolvedFxSwap swap, RatesProvider provider); double parSpread(ResolvedFxSwap swap, RatesProvider provider); PointSensitivities parSpreadSensitivity(ResolvedFxSwap swap, RatesProvider provider); MultiCurrencyAmount currencyExposure(ResolvedFxSwap product, RatesProvider provider); MultiCurrencyAmount currentCash(ResolvedFxSwap swap, LocalDate valuationDate); static final DiscountingFxSwapProductPricer DEFAULT; }### Answer:
@Test public void test_presentValueSensitivity_ended() { ResolvedFxSwap product = ResolvedFxSwap.ofForwardPoints( CurrencyAmount.of(USD, NOMINAL_USD), KRW, FX_RATE, FX_FWD_POINTS, PAYMENT_DATE_LONG_PAST, PAYMENT_DATE_PAST); PointSensitivities computed = PRICER.presentValueSensitivity(product, PROVIDER); assertThat(computed).isEqualTo(PointSensitivities.empty()); }