ObjectMapper mapper = new ObjectMapper();
KrakenSpreadsResult krakenResult = mapper.readValue(is, KrakenSpreadsResult.class);
KrakenSpreads spreads = krakenResult.getResult();
assertThat(spreads.getLast()).isEqualTo(1391837200);
KrakenSpread spread = spreads.getSpreads().get(0);
assertThat(spread.getAsk()).isEqualTo("720.00000");
assertThat(spread.getBid()).isEqualTo("709.17169");
assertThat(spread.getTime()).isEqualTo(1391836639);
}