InputStream is = TickerJSONTest.class.getResourceAsStream("/v2/marketdata/example-trades-data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
ANXTradesWrapper anxTradesWrapper = mapper.readValue(is, ANXTradesWrapper.class);
List<ANXTrade> anxTrades = anxTradesWrapper.getANXTrades();
Trades trades = ANXAdapters.adaptTrades(anxTrades);
assertThat(trades.getlastID()).isEqualTo(1402189349725L);
List<Trade> tradeList = trades.getTrades();