CoinbaseUser currentUser = accountChanges.getCurrentUser();
assertThat(currentUser.getId()).isEqualTo("527d2a1ffedcb8b73b000028");
assertThat(currentUser.getEmail()).isEqualTo("test@test.com");
assertThat(currentUser.getName()).isEqualTo("first last");
assertThat(accountChanges.getBalance()).isEqualsToByComparingFields(new CoinbaseMoney("BTC", new BigDecimal("7.10000000")));
assertThat(accountChanges.getTotalCount()).isEqualTo(2);
assertThat(accountChanges.getNumPages()).isEqualTo(1);
assertThat(accountChanges.getCurrentPage()).isEqualTo(1);
List<CoinbaseAccountChange> accountChangeList = accountChanges.getAccountChanges();
assertThat(accountChangeList.size()).isEqualTo(2);
CoinbaseAccountChange accountChange = accountChangeList.get(0);
assertThat(accountChange.getId()).isEqualTo("52f4411aabf9534a02000085");
assertThat(accountChange.getCreatedAt()).isEqualTo(DateUtils.fromISO8601DateString("2014-02-06T18:12:42-08:00"));
assertThat(accountChange.getTransactionId()).isEqualTo("52f4411aabf9534a02000081");
assertThat(accountChange.isConfirmed()).isTrue();
assertThat(accountChange.getAmount()).isEqualsToByComparingFields(new CoinbaseMoney("BTC", new BigDecimal("1.20000000")));
CoinbaseCache cache = accountChange.getCache();
assertThat(cache.isNotesPresent()).isTrue();
assertThat(cache.getCategory()).isEqualTo(CoinbaseAccountChangeCategory.TX);