### Question:
WorkflowLifecycle implements SmartLifecycle { @Override public void start() { dispatcherThread.start(); } @Inject  WorkflowLifecycle(WorkflowDispatcher dispatcher, @NFlow ThreadFactory nflowThreadFactory, Environment env); @Override int getPhase(); @Override boolean isAutoStartup(); @Override void start(); void pause(); void resume(); boolean isPaused(); @Override boolean isRunning(); @Override void stop(); @Override void stop(Runnable callback);  }### Answer:
@Test public void startLaunchesDispatcherThread() { lifecycle.start(); verify(dispatcherThread).start(); }