### Question:
ExampleUserDefinedFuncHandler extends UserDefinedFunctionHandler { public Integer extract_tx_id(Map<String, Object> transaction) { return -1; } ExampleUserDefinedFuncHandler(); Integer extract_tx_id(Map<String, Object> transaction); String decrypt(String payload);  }### Answer:
@Test public void extractTxId() { if (!enableTests) { logger.info("extractAccount: Tests are disabled, to enable them set the 'publishing' environment variable " + "using maven clean install -Dpublishing=true"); return; } Map<String, Object> input = new HashMap<>(); input.put("id", 1000); assertEquals(1000, (int) handler.extract_tx_id(input)); }