TradeOgreAdapters { public static String adaptCurrencyPair(CurrencyPair currencyPair) { return currencyPair.counter.toString() + "-" + currencyPair.base.toString(); }  static String adaptCurrencyPair(CurrencyPair currencyPair); static CurrencyPair adaptTradeOgreCurrencyPair(String currencyPair); static Balance adaptTradeOgreBalance(String currency, TradeOgreBalance tradeOgreBalance); static Ticker adaptTicker(CurrencyPair currencyPair, TradeOgreTicker tradeOgreTicker);  }
@Test public void adaptCurrencyPair() { CurrencyPair market = CurrencyPair.ETH_BTC; Assert.assertEquals("BTC-ETH", TradeOgreAdapters.adaptCurrencyPair(market)); }