@Override
  public CeWorker create(int ordinal) {
    String uuid = uuidFactory.create();
    CeWorkerImpl ceWorker = new CeWorkerImpl(ordinal, uuid, queue, taskProcessorRepository, ceWorkerController, executionListeners);
    ceWorkers = Stream.concat(ceWorkers.stream(), Stream.of(ceWorker)).collect(Collectors.toSet());
    return ceWorker;
  }
@Test
  public void create_allows_multiple_calls_with_same_ordinal() {
    IntStream.range(0, new Random().nextInt(50)).forEach(ignored -> {
      CeWorker ceWorker = underTest.create(randomOrdinal);

      assertThat(ceWorker.getOrdinal()).isEqualTo(randomOrdinal);
    });
  }