### Question:
IconService { public Request<TransactionResult> getTransactionResult(Bytes hash) { long requestId = System.currentTimeMillis(); RpcObject params = new RpcObject.Builder() .put("txHash", new RpcValue(hash)) .build(); foundation.icon.icx.transport.jsonrpc.Request request = new foundation.icon.icx.transport.jsonrpc.Request( requestId, "icx_getTransactionResult", params); return provider.request(request, findConverter(TransactionResult.class)); } @SuppressWarnings("unchecked")  IconService(Provider provider); Request<BigInteger> getTotalSupply(); Request<BigInteger> getBalance(Address address); Request<Block> getBlock(BigInteger height); Request<Block> getBlock(Bytes hash); Request<Block> getLastBlock(); @SuppressWarnings("unchecked") Request<List<ScoreApi>> getScoreApi(Address scoreAddress); Request<ConfirmedTransaction> getTransaction(Bytes hash); Request<TransactionResult> getTransactionResult(Bytes hash); Request<T> call(Call<T> call); Request<Bytes> sendTransaction(SignedTransaction signedTransaction); Request<BigInteger> estimateStep(Transaction transaction); void addConverterFactory(RpcConverterFactory factory);  }### Answer:
@Test void testGetTransactionResult() { Provider provider = mock(Provider.class); Bytes hash = new Bytes("0x2600770376fbf291d3d445054d45ed15280dd33c2038931aace3f7ea2ab59dbc"); IconService iconService = new IconService(provider); iconService.getTransactionResult(hash); HashMap<String, RpcValue> params = new HashMap<>(); params.put("txHash", new RpcValue(hash)); verify(provider).request( argThat(request -> isRequestMatches(request, "icx_getTransactionResult", params)), argThat(Objects::nonNull)); }