### Question:
ImageServiceBase { protected void populateSubProcessLink(String containerId, NodeInstanceDesc node, Map<String, String> subProcessLinks) { if (node.getReferenceId() != null && node.getNodeType().endsWith("SubProcessNode")) { String link = kieServerLocation + MessageFormat.format(processInstanceImageLink, containerId, node.getReferenceId().toString()); subProcessLinks.put(node.getNodeId(), link); } } ImageServiceBase();  ImageServiceBase(RuntimeDataService dataService, Map<String, ImageReference> imageReferenceMap, KieServerRegistry registry); String getProcessImage(String containerId, String processId); String getActiveProcessImage(String containerId, long procInstId); String getActiveProcessImage(String containerId, long procInstId, String completedNodeColor,
                                        String completedNodeBorderColor, String activeNodeBorderColor);  }### Answer:
@Test public void testHighValueSubProcessInstanceId() { ImageServiceBase imageServiceBase = new ImageServiceBase(); NodeInstanceDesc node = new org.jbpm.kie.services.impl.model.NodeInstanceDesc("9999", "1234", "Test node", "SubProcessNode", "test-deployment", 1001L, new Date(), "test-connection", 1, 2001L, 3001L, "", null, null); Map<String, String> subProcessLinks = new HashMap<>(); imageServiceBase.populateSubProcessLink("test", node, subProcessLinks); assertEquals(1, subProcessLinks.size()); assertEquals("containers/test/images/processes/instances/3001", subProcessLinks.get("1234")); }