@@ -232,15 +232,15 @@ public void testFunctionRefs(String workflowLocation) {
232232 assertNotNull (action1 .getFunctionRef ());
233233 FunctionRef functionRef1 = action1 .getFunctionRef ();
234234 assertEquals ("creditCheckFunction" , functionRef1 .getRefName ());
235- assertNull (functionRef1 .getParameters ());
235+ assertNull (functionRef1 .getArguments ());
236236
237237 Action action2 = operationState .getActions ().get (1 );
238238 assertNotNull (action2 );
239239 assertNotNull (action2 .getFunctionRef ());
240240 FunctionRef functionRef2 = action2 .getFunctionRef ();
241241 assertEquals ("sendRejectionEmailFunction" , functionRef2 .getRefName ());
242- assertEquals (1 , functionRef2 .getParameters ().size ());
243- assertEquals ("{{ $.customer }}" , functionRef2 .getParameters ().get ("applicant" ).asText ());
242+ assertEquals (1 , functionRef2 .getArguments ().size ());
243+ assertEquals ("{{ $.customer }}" , functionRef2 .getArguments ().get ("applicant" ).asText ());
244244 }
245245
246246 @ ParameterizedTest
@@ -307,7 +307,7 @@ public void testFunctionRefJsonParams(String workflowLocation) {
307307 assertNotNull (actions .get (0 ).getFunctionRef ());
308308 assertEquals ("addPet" , actions .get (0 ).getFunctionRef ().getRefName ());
309309
310- JsonNode params = actions .get (0 ).getFunctionRef ().getParameters ();
310+ JsonNode params = actions .get (0 ).getFunctionRef ().getArguments ();
311311 assertNotNull (params );
312312 assertEquals (4 , params .size ());
313313 assertEquals (123 , params .get ("id" ).intValue ());
@@ -340,9 +340,9 @@ public void testFunctionRefNoParams(String workflowLocation) {
340340 assertEquals ("addPet" , actions .get (0 ).getFunctionRef ().getRefName ());
341341 assertEquals ("addPet" , actions .get (1 ).getFunctionRef ().getRefName ());
342342
343- JsonNode params = actions .get (0 ).getFunctionRef ().getParameters ();
343+ JsonNode params = actions .get (0 ).getFunctionRef ().getArguments ();
344344 assertNull (params );
345- JsonNode params2 = actions .get (1 ).getFunctionRef ().getParameters ();
345+ JsonNode params2 = actions .get (1 ).getFunctionRef ().getArguments ();
346346 assertNull (params );
347347 }
348348}
0 commit comments