KunaUtils { public static String toPairString(CurrencyPair currencyPair) { return currencyPair.base.getCurrencyCode().toLowerCase() + currencyPair.counter.getCurrencyCode().toLowerCase(); } private  KunaUtils(); static String toPairString(CurrencyPair currencyPair); static Date toDate(String dateString); static String format(Date date); static final String DATE_FORMAT_NO_MILLIS; }
@Test public void test_toPairString() { assertThat(KunaUtils.toPairString(CurrencyPair.BTC_UAH)).isEqualTo("btcuah"); assertThat(KunaUtils.toPairString(CurrencyPair.ETH_UAH)).isEqualTo("ethuah"); assertThat(KunaUtils.toPairString(CurrencyPair.BCH_UAH)).isEqualTo("bchuah"); }