class ForexOptionVanillaBlackFlatMethod {

  public double impliedVolatility(final ForexOptionVanilla optionForex, final BlackForexFlatProviderInterface black) {
    Validate.notNull(optionForex, "Forex option");
    Validate.notNull(black, "Smile");
    final double volatility = black.getVolatility(optionForex.getCurrency1(), optionForex.getCurrency2(), optionForex.getTimeToExpiry());
    return volatility;
  }

  private  ForexOptionVanillaBlackFlatMethod();

}