### Question:
EthereumUtils { public static BigInteger getNextNonce(Web3j web3j, String etherAddress) throws IOException { EthGetTransactionCount ethGetTransactionCount = null; ethGetTransactionCount = web3j.ethGetTransactionCount( etherAddress, DefaultBlockParameterName.PENDING).send(); Log.d(TAG, String.format("Nonce: %s", ethGetTransactionCount.getTransactionCount())); return ethGetTransactionCount.getTransactionCount(); }  static EthBalanceBean getBalance(String ethAddress, String url); static Pair<EthSendTransaction, GenerateSignatureResponseApdu> sendTransaction(
            BigInteger gasPrice, BigInteger gasLimit, String from,
            String to, BigInteger value, IsoDep isoTag,
            String publicKey, String data, String url, byte chainId, int keyIndex, byte[] pin); static BigInteger getNextNonce(Web3j web3j, String etherAddress);  }### Answer:
@Test public void testGetNextNonce() throws IOException { Web3j web3 = Web3jFactory.build(new HttpService(ROPSTEN_URI)); final BigInteger nextNonce = EthereumUtils.getNextNonce(web3, "0xfd37944e59fB227043F1F53Ca6Aef1C953684f46"); assertTrue(nextNonce.intValue() > 0); }