private static ProcessorLocality processorLocality(String id, String host) {
    ProcessorLocality processorLocality = mock(ProcessorLocality.class);
    when(processorLocality.id()).thenReturn(id);
    when(processorLocality.host()).thenReturn(host);
    return processorLocality;
  }
Order of SSPs in values of the map shouldn't matter, and the order is also non-deterministic, so just check the
contents of the lists.
samza-core/src/test/java/org/apache/samza/coordinator/TestJobModelHelper.java