### Question:
ImageServiceBase { public String getProcessImage(String containerId, String processId) { containerId = registry.getContainerId(containerId, ContainerLocatorProvider.get().getLocator()); String imageSVGString = null; byte[] imageSVG = getProcessImageAsBytes(containerId, processId); if (imageSVG != null) { ByteArrayInputStream svgStream = new ByteArrayInputStream(imageSVG); SVGProcessor processor = new SVGImageProcessor(svgStream).getProcessor(); imageSVGString = processor.getSVG(); } return imageSVGString; } 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 testIncludedViewBoxAtProcessImage() throws Exception { String containerId = "test-container"; String processId = "test-processId"; byte[] byteArray = getInputStreamAsByteArray(ImageServiceBaseTest.class.getResourceAsStream("/evaluation-svg.svg")); when(dataService.getProcessesByDeploymentIdProcessId(containerId, processId)).thenReturn(mock(ProcessDefinition.class)); when(imageReference.getImageContent(anyString(), anyString())).thenReturn(byteArray); when(kieServerRegistry.getContainerId(anyString(), any(ContainerLocator.class))).thenReturn(containerId); when(kieServerRegistry.getConfig()).thenReturn(config); when(config.getConfigItemValue(anyString(), anyString())).thenReturn(""); Map<String, ImageReference> imageReferenceMap = new HashMap<>(); imageReferenceMap.put(containerId, imageReference); ImageServiceBase imageServiceBase = new ImageServiceBase(dataService, imageReferenceMap, kieServerRegistry); String processImageStr = imageServiceBase.getProcessImage(containerId, "test-processId"); Document svgDocument = readSVG(processImageStr); assertEquals("", ((Element) svgDocument.getFirstChild()).getAttribute("width")); assertEquals("", ((Element) svgDocument.getFirstChild()).getAttribute("height")); assertEquals("0 0 3000 2000", svgDocument.getFirstChild().getAttributes().getNamedItem("viewBox").getNodeValue()); }