}
@Test
public void testAdaptOrderBook() throws IOException {
BTCTradeDepth btcTradeDepth = mapper.readValue(getClass().getResource("dto/marketdata/depth.json"), BTCTradeDepth.class);
OrderBook orderBook = BTCTradeAdapters.adaptOrderBook(btcTradeDepth, CurrencyPair.BTC_CNY);
assertEquals(50, orderBook.getAsks().size());
assertEquals(50, orderBook.getBids().size());
assertEquals(OrderType.ASK, orderBook.getAsks().get(0).getType());