@Test
public void testReplace() throws Exception {

    Map<String, Object> map = new HashMap<>();
p.put("name", "conductor");
p.put("version", 2);
p.put("externalId", "{\"taskRefName\":\"t001\",\"workflowId\":\"w002\"}");
p<String, Object> input = new HashMap<>();
put.put("k1", "${$.externalId}");
put.put("k4", "${name}");
put.put("k5", "${version}");
ject jsonObj = objectMapper.readValue(objectMapper.writeValueAsString(map), Object.class);
p<String, Object> replaced = parametersUtils.replace(input, jsonObj);
sertNotNull(replaced);
stem.out.println("testNoExpand(): " + replaced);
sertEquals("{\"taskRefName\":\"t001\",\"workflowId\":\"w002\"}", replaced.get("k1"));
sertEquals("conductor", replaced.get("k4"));
sertEquals(2, replaced.get("k5"));
}