### Question:
DiscountingOvernightFutureTradePricer { public double price(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider) { return productPricer.price(trade.getProduct(), ratesProvider); } DiscountingOvernightFutureTradePricer(
      DiscountingOvernightFutureProductPricer productPricer); double price(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider); PointSensitivities priceSensitivity(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider); CurrencyAmount presentValue(
      ResolvedOvernightFutureTrade trade,
      RatesProvider ratesProvider,
      double lastSettlementPrice); PointSensitivities presentValueSensitivity(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider); double parSpread(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider, double lastSettlementPrice); PointSensitivities parSpreadSensitivity(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider); static final DiscountingOvernightFutureTradePricer DEFAULT; }### Answer:
@Test public void test_price() { double computed = PRICER_TRADE.price(RESOLVED_TRADE, RATES_PROVIDER); double expected = PRICER_PRODUCT.price(RESOLVED_TRADE.getProduct(), RATES_PROVIDER); assertThat(computed).isCloseTo(expected, offset(TOL)); }