### Question:
WorkflowLifecycle implements SmartLifecycle { @Override public int getPhase() { return Integer.MAX_VALUE; } @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 getPhaseIsMaximum() { assertThat(lifecycle.getPhase(), is(Integer.MAX_VALUE)); }