@Test
public void testAdaptTicker() throws IOException {
BTCTradeTicker btcTradeTicker = mapper.readValue(getClass().getResource("dto/marketdata/ticker.json"), BTCTradeTicker.class);
Ticker ticker = BTCTradeAdapters.adaptTicker(btcTradeTicker, CurrencyPair.BTC_CNY);
assertEquals(new BigDecimal("3760"), ticker.getHigh());
assertEquals(new BigDecimal("3658"), ticker.getLow());
assertEquals(new BigDecimal("3752"), ticker.getBid());
assertEquals(new BigDecimal("3758"), ticker.getAsk());
assertEquals(new BigDecimal("3757"), ticker.getLast());
assertEquals(new BigDecimal("11009.76"), ticker.getVolume());
}