### Question:
BitgoWallet implements IWallet, ICanSendMany { @Override public String getCryptoAddress(String cryptoCurrency) { if(cryptoCurrency == null) { cryptoCurrency = getPreferredCryptoCurrency(); } if (!getCryptoCurrencies().contains(cryptoCurrency)) { return null; } cryptoCurrency = cryptoCurrency.toLowerCase(); try { final Map<String, Object> response = api.getWalletById(cryptoCurrency, walletId); if(response == null || response.isEmpty()) { return null; } Object receiveAddressObj = response.get("receiveAddress"); if(receiveAddressObj == null || !(receiveAddressObj instanceof Map)) { return null; } Map receiveAddressMap = (Map)receiveAddressObj; Object addressObj = receiveAddressMap.get("address"); if(addressObj == null || !(addressObj instanceof String)) { return null; } return (String)addressObj; } catch (HttpStatusIOException hse) { log.debug("getCryptoAddress error: {}", hse.getHttpBody()); } catch (ErrorResponseException e) { log.debug("getCryptoAddress error: {}", e.getMessage()); } catch (Exception e) { log.error("", e); } return null; } BitgoWallet(String scheme, String host, int port, String token, String walletId, String walletPassphrase); @Override String sendMany(Collection<Transfer> transfers, String cryptoCurrency, String description); @Override String sendCoins(String destinationAddress, BigDecimal amount, String cryptoCurrency, String description); @Override String getCryptoAddress(String cryptoCurrency); @Override Set<String> getCryptoCurrencies(); @Override String getPreferredCryptoCurrency(); @Override BigDecimal getCryptoBalance(String cryptoCurrency); String toString(); String getUrl(); String getWalletId();  }### Answer:
@Test @Ignore public void getCryptAddressTest() { String coin = CryptoCurrency.TBTC.getCode(); String scheme = "https"; String host = "test.bitgo.com"; int port = 443; String token = "v2x8d5e9e46379dc328b2039a400a12b04ea986689b38107fd84cd339bc89e3fb21"; String walletId = "5b20e3a9266bbe80095757489d84a6bb"; String walletPassphrase = "JSZSuGNlHfgqPHjrp0eO"; final BitgoWallet remotewallet = new BitgoWallet(scheme, host, port, token, walletId, walletPassphrase); final String address = remotewallet.getCryptoAddress(coin); Assert.assertNotNull(address); Assert.assertEquals("2N2WR6aVSEgq5ZLTED9vHvCWFdAMf6yhebd", address); }