### Question:
WorkflowResource { protected List<String> getActivityNameList(String bpmnContent) { List<String> activityNameList = new ArrayList<>(); Pattern p = Pattern.compile(PATTERN); Matcher m = p.matcher(bpmnContent); while (m.find()) { activityNameList.add(m.group(1)); } return activityNameList; }  void processWorkflows(VfResourceStructure vfResourceStructure); String getWorkflowNameFromArtifactName(String artifactName); Double getWorkflowVersionFromArtifactName(String artifactName);  }### Answer:
@Test public void getActivityNameList_Test() throws Exception { String bpmnContent = new String(Files .readAllBytes(Paths.get("src/test/resources/resource-examples/WorkflowBpmn/TestBpmnFromSDC.bpmn"))); List<String> activityNames = workflowResource.getActivityNameList(bpmnContent); assertEquals("VNFSetInMaintFlagActivity", activityNames.get(0)); }