BleutradeUtils { public static String toPairString(CurrencyPair currencyPair) { return currencyPair.base.getCurrencyCode().toUpperCase() + "_" + currencyPair.counter.getCurrencyCode().toUpperCase(); }  static String toPairString(CurrencyPair currencyPair); static CurrencyPair toCurrencyPair(String pairString); static Date toDate(String timeStamp);  }
@Test public void shouldConvertCurrencyPairToString() { assertThat(BleutradeUtils.toPairString(CurrencyPair.BTC_AUD)).isEqualTo("BTC_AUD"); assertThat(BleutradeUtils.toPairString(new CurrencyPair("BLEU", "AUD"))).isEqualTo("BLEU_AUD"); }