@Test
public void testFindLatestProcessByNameMultipleProcesses() {

    List<Process> processes = buildProcessCollection("Hello", 5);
    processes.addAll(buildProcessCollection("DifferentProcess", 10));
    processes.addAll(buildProcessCollection("DifferentProcess1", 10));
    processes.addAll(buildProcessCollection("DifferentProcess2", 30));
    processes.addAll(buildProcessCollection("Process", 10));
    processes.addAll(buildProcessCollection("Diffeocess1", 10));
    processes.addAll(buildProcessCollection("Differs2", 30));
    processes.addAll(buildProcessCollection("zDifferentProcess", 10));
    processes.addAll(buildProcessCollection("xDifferentProcess1", 10));
    processes.addAll(buildProcessCollection("cDifferentProcess2", 30));
    processes.addAll(buildProcessCollection("vProcess", 10));
    processes.addAll(buildProcessCollection("bDiffeocess1", 10));
    processes.addAll(buildProcessCollection("nDiffers2", 30));
    Collections.shuffle(processes);
    String foundProcessId = StartProcessHelper.findLatestProcessByName(processes, "Hello");
    assertNotNull(foundProcessId);
    assertEquals("5", foundProcessId);
    
    foundProcessId = StartProcessHelper.findLatestProcessByName(processes, "DifferentProcess");
    
    assertNotNull(foundProcessId);
    assertEquals("10", foundProcessId);
}