@Test
public void dispatcherPoolExecutorInstantiationFromThreads() {

  WorkflowInstanceExecutor executor = configuration.nflowExecutor(threadFactory, environment);
  assertThat(executor.getQueueRemainingCapacity(), is(200));
}