// Read in the JSON from the example resources
InputStream is = BTERAdapterTest.class.getResourceAsStream("/account/example-funds-data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
BTERFunds funds = mapper.readValue(is, BTERFunds.class);
AccountInfo accountInfo = BTERAdapters.adaptAccountInfo(funds);
assertThat(accountInfo.getWallets()).hasSize(4);
assertThat(accountInfo.getBalance(Currencies.BTC)).isEqualTo("0.00010165");