@Test
public void testAgricultureFutureOption() {
final double answer = -24.356026185994125;
final AgricultureFutureDefinition definition = new AgricultureFutureDefinition(EXPIRY_DATE, AN_UNDERLYING, UNIT_AMOUNT, null, null, AMOUNT, "tonnes",
SettlementType.CASH, 0, Currency.GBP, SETTLEMENT_DATE);
final AgricultureFuture future = definition.toDerivative(A_DATE);
final AgricultureFutureOption option = new AgricultureFutureOption(EXPIRY, future, STRIKE, EXERCISE, true);
final double pv = option.accept(PRICER, MARKET);
assertEquals(answer, pv * option.getUnderlying().getUnitAmount(), TOLERANCE);
}