CoinjarAdapters { public static String currencyPairToProduct(CurrencyPair pair) { return pair.base.getCurrencyCode() + pair.counter.getCurrencyCode(); } private  CoinjarAdapters(); static String currencyPairToProduct(CurrencyPair pair); static CurrencyPair productToCurrencyPair(String product); static String orderTypeToBuySell(Order.OrderType orderType); static Order.OrderType buySellToOrderType(String buySell); static Order.OrderStatus adaptStatus(String status); static Ticker adaptTicker(CoinjarTicker ticker, CurrencyPair currencyPair); static LimitOrder adaptOrderToLimitOrder(CoinjarOrder coinjarOrder); static UserTrade adaptOrderToUserTrade(CoinjarOrder order); static OrderBook adaptOrderbook(CoinjarOrderBook orderBook, CurrencyPair currencyPair); static UserTrade adaptFillToUserTrade(CoinjarFill coinjarFill);  }
@Test public void testCurrencyPairToProduct() { assertThat(CoinjarAdapters.currencyPairToProduct(CurrencyPair.BTC_AUD)).isEqualTo("BTCAUD"); }