final InputStream is = JustcoinOrdersTest.class.getResourceAsStream("/trade/example-order-history-data.json");
// Use Jackson to parse it
final ObjectMapper mapper = new ObjectMapper();
final JustcoinTrade[] justcoinTrades = mapper.readValue(is, new JustcoinTrade[0].getClass());
final JustcoinTrade deserializedTrade = justcoinTrades[0];
assertThat(justcoinTrades.length).isEqualTo(3);
assertThat(deserializedTrade).isEqualTo(justcoinTrade);
}