// Read in the JSON from the example resources
InputStream is = CryptsyAdapterTest.class.getResourceAsStream("/account/Sample_GetInfo_Data.json");
// Use Jackson to parse it
ObjectMapper mapper = new ObjectMapper();
CryptsyAccountInfoReturn accountInfo = mapper.readValue(is, CryptsyAccountInfoReturn.class);
AccountInfo adaptedAccountInfo = CryptsyAdapters.adaptAccountInfo(accountInfo);
List<Wallet> wallets = adaptedAccountInfo.getWallets();
assertEquals(wallets.size(), 150);