@Test
public void testGetProcessGroupWithoutChildren() {

    final String flowId = "1";
    when(flowManager.getFlow(flowId)).thenReturn(Optional.of(flow));
    final FDProcessGroupFlow processGroupFlow = processGroupFlowService.get(flowId, flowContent.getIdentifier(), false);
    assertNotNull(processGroupFlow);
    final FDProcessGroupFlowContent processGroupFlowContent = processGroupFlow.getFlowContent();
    assertEquals(0, processGroupFlowContent.getProcessGroups().size());
}