OandaProviderHelper implements ProviderHelper<String> { @Override public String fromPairSeparatorFormat(String instrument) { String[] pair = TradingUtils.splitInstrumentPair(instrument); return String.format("%s%s%s", pair[0], OandaConstants.CCY_PAIR_SEP, pair[1]); }  @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 fromPairSeparatorFormatTest() { assertEquals("GBP_NZD", this.providerHelper.fromPairSeparatorFormat("GBP/NZD")); }