### Question:
TransactionFactory { static String extractValueFromEthGetTransactionReceipt(String data) { if (data.startsWith("0x")) { data = data.substring(2); } return decodeInt(Hex.decode(data), 0).toString(); } private  TransactionFactory(); static Transaction fromEthGetTransactionReceipt(
      EthGetTransactionReceipt ethGetTransactionReceipt); static Transaction fromEthTransaction(EthTransaction ethTransaction, Status status); static BigInteger decodeInt(byte[] encoded, int offset);  }### Answer:
@Test public void extractValueFromEthGetTransactionReceipt() { String s = TransactionFactory.extractValueFromEthGetTransactionReceipt(valueHex); assertThat(s, is("1000000000000000000")); }