### Question:
DiscountingFxSwapTradePricer { public MultiCurrencyAmount currencyExposure(ResolvedFxSwapTrade trade, RatesProvider provider) { return productPricer.currencyExposure(trade.getProduct(), provider); } DiscountingFxSwapTradePricer(
      DiscountingFxSwapProductPricer productPricer); MultiCurrencyAmount presentValue(ResolvedFxSwapTrade trade, RatesProvider provider); PointSensitivities presentValueSensitivity(ResolvedFxSwapTrade trade, RatesProvider provider); double parSpread(ResolvedFxSwapTrade trade, RatesProvider provider); PointSensitivities parSpreadSensitivity(ResolvedFxSwapTrade trade, RatesProvider provider); MultiCurrencyAmount currencyExposure(ResolvedFxSwapTrade trade, RatesProvider provider); MultiCurrencyAmount currentCash(ResolvedFxSwapTrade trade, RatesProvider provider); static final DiscountingFxSwapTradePricer DEFAULT; }### Answer:
@Test public void test_currencyExposure() { assertThat(TRADE_PRICER.currencyExposure(TRADE, PROVIDER)).isEqualTo(PRODUCT_PRICER.currencyExposure(PRODUCT, PROVIDER)); }