### Question:
DiscountingDsfTradePricer { public double price(ResolvedDsfTrade trade, RatesProvider ratesProvider) { return productPricer.price(trade.getProduct(), ratesProvider); } DiscountingDsfTradePricer(
      DiscountingDsfProductPricer productPricer); double price(ResolvedDsfTrade trade, RatesProvider ratesProvider); PointSensitivities priceSensitivity(ResolvedDsfTrade trade, RatesProvider ratesProvider); CurrencyAmount presentValue(
      ResolvedDsfTrade trade,
      RatesProvider ratesProvider,
      double lastSettlementPrice); PointSensitivities presentValueSensitivity(ResolvedDsfTrade trade, RatesProvider ratesProvider); MultiCurrencyAmount currencyExposure(
      ResolvedDsfTrade trade,
      RatesProvider ratesProvider,
      double lastSettlementPrice); static final DiscountingDsfTradePricer DEFAULT; }### Answer:
@Test public void test_price() { double computed = TRADE_PRICER.price(FUTURE_TRADE, PROVIDER); double expected = PRODUCT_PRICER.price(FUTURE, PROVIDER); assertThat(computed).isCloseTo(expected, offset(TOL)); }