CryptoTradeTransactions transactionHistory = mapper.readValue(is, CryptoTradeTransactions.class);
List<CryptoTradeTransaction> transactionList = transactionHistory.getTransactions();
assertThat(transactionList.size()).isEqualTo(2);
CryptoTradeTransaction transaction = transactionList.get(0);
assertThat(transaction.getId()).isEqualTo(2425);
assertThat(transaction.getTimestamp()).isEqualTo(1371058368);
assertThat(transaction.getCurrency()).isEqualTo(Currencies.BTC);
assertThat(transaction.getType()).isEqualTo("Bought");
assertThat(transaction.getAmount()).isEqualTo("0.49925");
assertThat(transaction.getDescription()).isEqualTo("Bought 0.5 BTC (-0.15% Fees) @ 123 USD from Order #8");
assertThat(transaction.getStatus()).isEqualTo("Completed");
}