test_class.file: herd-code/herd-service/src/test/java/org/finra/herd/service/activiti/ActivitiHelperTest.java
test_class.identifier: ActivitiHelperTest
test_class.superclass: extends AbstractServiceTest
test_case.body: @Test
      public void testGetProcessIdentifyingInformation()
      {
          // Create variables required for testing.
          final String processDefinitionId = STRING_VALUE;
          final String processInstanceId = STRING_VALUE_2;
  
          // Mock dependencies.
          DelegateExecution execution = mock(DelegateExecution.class);
          when(execution.getProcessDefinitionId()).thenReturn(processDefinitionId);
          when(execution.getProcessInstanceId()).thenReturn(processInstanceId);
  
          // Call the method under test.
          String result = activitiHelper.getProcessIdentifyingInformation(execution);
  
          // Validate the result.
          assertEquals(String.format("[ activitiProcessDefinitionId=\"%s\" activitiProcessInstanceId=\"%s\" ]", processDefinitionId, processInstanceId), result);
      }
test_case.class_method_signature: ActivitiHelperTest.testGetProcessIdentifyingInformation()
test_case.full_signature: @Test public void testGetProcessIdentifyingInformation()
test_case.identifier: testGetProcessIdentifyingInformation
test_case.invocations: mock thenReturn when getProcessDefinitionId thenReturn when getProcessInstanceId getProcessIdentifyingInformation assertEquals format
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetProcessIdentifyingInformation()
focal_class.file: herd-code/herd-service/src/main/java/org/finra/herd/service/activiti/ActivitiHelper.java
focal_class.identifier: ActivitiHelper
focal_class.class_method_signature: ActivitiHelper.getProcessIdentifyingInformation(DelegateExecution execution)
focal_class.full_signature: public String getProcessIdentifyingInformation(DelegateExecution execution)
focal_class.identifier: getProcessIdentifyingInformation
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution execution)
focal_class.return: String
focal_class.signature: String getProcessIdentifyingInformation(DelegateExecution execution)
focal_class.class_method_signature: ActivitiHelper.getExpressionVariable(Expression expression, DelegateExecution execution)
focal_class.full_signature: public Object getExpressionVariable(Expression expression, DelegateExecution execution)
focal_class.identifier: getExpressionVariable
focal_class.modifiers: public
focal_class.parameters: (Expression expression, DelegateExecution execution)
focal_class.return: Object
focal_class.signature: Object getExpressionVariable(Expression expression, DelegateExecution execution)
focal_class.class_method_signature: ActivitiHelper.getExpressionVariableAsString(Expression expression, DelegateExecution execution)
focal_class.full_signature: public String getExpressionVariableAsString(Expression expression, DelegateExecution execution)
focal_class.identifier: getExpressionVariableAsString
focal_class.modifiers: public
focal_class.parameters: (Expression expression, DelegateExecution execution)
focal_class.return: String
focal_class.signature: String getExpressionVariableAsString(Expression expression, DelegateExecution execution)
focal_class.class_method_signature: ActivitiHelper.getRequiredExpressionVariableAsString(Expression expression, DelegateExecution execution, String variableName)
focal_class.full_signature: public String getRequiredExpressionVariableAsString(Expression expression, DelegateExecution execution, String variableName)
focal_class.identifier: getRequiredExpressionVariableAsString
focal_class.modifiers: public
focal_class.parameters: (Expression expression, DelegateExecution execution, String variableName)
focal_class.return: String
focal_class.signature: String getRequiredExpressionVariableAsString(Expression expression, DelegateExecution execution, String variableName)
focal_class.class_method_signature: ActivitiHelper.getExpressionVariableAsInteger(Expression expression, DelegateExecution execution, String variableName, boolean isRequired)
focal_class.full_signature: public Integer getExpressionVariableAsInteger(Expression expression, DelegateExecution execution, String variableName, boolean isRequired)
focal_class.identifier: getExpressionVariableAsInteger
focal_class.modifiers: public
focal_class.parameters: (Expression expression, DelegateExecution execution, String variableName, boolean isRequired)
focal_class.return: Integer
focal_class.signature: Integer getExpressionVariableAsInteger(Expression expression, DelegateExecution execution, String variableName, boolean isRequired)
focal_class.class_method_signature: ActivitiHelper.getExpressionVariableAsBoolean(Expression expression, DelegateExecution execution, String variableName, boolean isRequired,
          Boolean defaultValue)
focal_class.full_signature: public Boolean getExpressionVariableAsBoolean(Expression expression, DelegateExecution execution, String variableName, boolean isRequired,
          Boolean defaultValue)
focal_class.identifier: getExpressionVariableAsBoolean
focal_class.modifiers: public
focal_class.parameters: (Expression expression, DelegateExecution execution, String variableName, boolean isRequired,
          Boolean defaultValue)
focal_class.return: Boolean
focal_class.signature: Boolean getExpressionVariableAsBoolean(Expression expression, DelegateExecution execution, String variableName, boolean isRequired,
          Boolean defaultValue)
focal_class.class_method_signature: ActivitiHelper.constructBpmnModelFromXmlAndValidate(String xmlString)
focal_class.full_signature: public BpmnModel constructBpmnModelFromXmlAndValidate(String xmlString)
focal_class.identifier: constructBpmnModelFromXmlAndValidate
focal_class.modifiers: public
focal_class.parameters: (String xmlString)
focal_class.return: BpmnModel
focal_class.signature: BpmnModel constructBpmnModelFromXmlAndValidate(String xmlString)
focal_method.body: public String getProcessIdentifyingInformation(DelegateExecution execution)
      {
          return MessageFormatter.format("[ activitiProcessDefinitionId=\"{}\" activitiProcessInstanceId=\"{}\" ]", execution.getProcessDefinitionId(),
              execution.getProcessInstanceId()).getMessage();
      }
focal_method.class_method_signature: ActivitiHelper.getProcessIdentifyingInformation(DelegateExecution execution)
focal_method.full_signature: public String getProcessIdentifyingInformation(DelegateExecution execution)
focal_method.identifier: getProcessIdentifyingInformation
focal_method.invocations: getMessage format getProcessDefinitionId getProcessInstanceId
focal_method.modifiers: public
focal_method.parameters: (DelegateExecution execution)
focal_method.return: String
focal_method.signature: String getProcessIdentifyingInformation(DelegateExecution execution)