@Override
  public int getWorkerCount() {
    if (workerCountProvider != null) {
      workerCount = readWorkerCount(workerCountProvider);
    }
    return workerCount;
  }
@Test
  public void getWorkerCount_returns_1_when_there_is_no_WorkerCountProvider() {
    assertThat(new CeConfigurationImpl(EMPTY_CONFIGURATION).getWorkerCount()).isOne();
  }