### Question:
WorkflowAction { protected WorkflowResourceIds populateResourceIdsFromApiHandler(DelegateExecution execution) { return WorkflowResourceIdsUtils.getWorkflowResourceIdsFromExecution(execution); }  void setBbInputSetupUtils(BBInputSetupUtils bbInputSetupUtils); void setBbInputSetup(BBInputSetup bbInputSetup); void selectExecutionList(DelegateExecution execution); void handleRuntimeException(DelegateExecution execution);  }### Answer:
@Test public void populateResourceIdsFromApiHandlerTest() { execution.setVariable("serviceInstanceId", "123"); execution.setVariable("vnfId", "888"); WorkflowResourceIds x = workflowAction.populateResourceIdsFromApiHandler(execution); assertEquals("123", x.getServiceInstanceId()); assertEquals("888", x.getVnfId()); assertNull(x.getVolumeGroupId()); }