@Test
public void factoryCreatesExecutorsWithListeners() {

  factory.listeners = listeners;
  WorkflowStateProcessor executor = factory.createProcessor(122, FALSE::booleanValue);
  assertNotNull(executor);
}