OandaProviderHelper implements ProviderHelper<String> { @Override public String toIsoFormat(String instrument) { String tokens[] = TradingUtils.splitCcyPair(instrument, TradingConstants.CURRENCY_PAIR_SEP_UNDERSCORE); String isoInstrument = tokens[0] + tokens[1]; return isoInstrument; }  @Override String fromIsoFormat(String instrument); @Override String fromPairSeparatorFormat(String instrument); @Override String toIsoFormat(String instrument); @Override String fromHashTagCurrency(String instrument); @Override String getLongNotation(); @Override String getShortNotation();  }
@Test public void toIsoFormatTest() { assertEquals("USDJPY", this.providerHelper.toIsoFormat("USD_JPY")); }