/**
* Tests the forward Forex rate through the method and through the calculator.
*/
public void forwardRateMethodVsCalculator() {
final double fwdMethod = METHOD_OPTION.forwardForexRate(FOREX_CALL_OPTION, SMILE_BUNDLE);
final ForwardRateForexCalculator FWDC = ForwardRateForexCalculator.getInstance();
final double fwdCalculator = FOREX_CALL_OPTION.accept(FWDC, SMILE_BUNDLE);
assertEquals("Forex: forward rate", fwdMethod, fwdCalculator, TOLERANCE_RELATIVE);
}