OpenOrders adaptedOpenOrders = BTERAdapters.adaptOpenOrders(openOrders, currencyPairs);
List<LimitOrder> adaptedOrderList = adaptedOpenOrders.getOpenOrders();
assertThat(adaptedOrderList).hasSize(1);
LimitOrder adaptedOrder = adaptedOrderList.get(0);
assertThat(adaptedOrder.getType()).isEqualTo(OrderType.ASK);
assertThat(adaptedOrder.getTradableAmount()).isEqualTo("0.384");
assertThat(adaptedOrder.getCurrencyPair()).isEqualTo(CurrencyPair.LTC_BTC);
assertThat(adaptedOrder.getId()).isEqualTo("12941907");
assertThat(adaptedOrder.getTimestamp()).isNull();
assertThat(adaptedOrder.getLimitPrice().doubleValue()).isEqualTo(new BigDecimal("0.010176").divide(new BigDecimal("0.384"), RoundingMode.HALF_EVEN).doubleValue());
}