// Read in the JSON from the example resources
final InputStream is = JustcoinDepositAddressTest.class.getResourceAsStream("/account/example-deposit-address-data.json");
// Use Jackson to parse it
final ObjectMapper mapper = new ObjectMapper();
final JustcoinDepositAddress justcoinDepositAddress = mapper.readValue(is, JustcoinDepositAddress.class);
assertThat(justcoinDepositAddress.getAddress()).isEqualTo(address);
}