// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
BTEROpenOrders openOrders = mapper.readValue(is, BTEROpenOrders.class);
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");