@Test
public void testShutdown() {

  WorkflowInstanceExecutor t = new WorkflowInstanceExecutor(3, 2, 1, 3, 4, new CustomizableThreadFactory("test"));
  t.shutdown();
  assertThat(t.executor.isShutdown(), is(true));
}