InputStream is = KrakenServerTimeJSONTest.class.getResourceAsStream("/marketdata/example-servertime-data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
KrakenServerTimeResult krakenResult = mapper.readValue(is, KrakenServerTimeResult.class);
KrakenServerTime serverTime = krakenResult.getResult();
assertThat(serverTime.getUnixTime()).isEqualTo(1391835876);
assertThat(serverTime.getRfc1123Time()).isEqualTo(DateUtils.fromRfc1123DateString("Sat, 8 Feb 14 05:04:36 +0000", Locale.US));
}