@Override
    public Collection<Process> getProcessList() {
        return ProcessRegistry.getInstance().listAll();
    }
@Test
    void assertGetProcessList() {
        ProcessRegistry processRegistry = mock(ProcessRegistry.class);
        when(ProcessRegistry.getInstance()).thenReturn(processRegistry);
        processPersistService.getProcessList();
        verify(processRegistry).listAll();
    }