### Question:
AbstractLifecycle implements Lifecycle { @Override public final void init() throws LifecycleException { try { this.lifecycleStateMachine.transition(INITIALIZING); initInternal(); this.lifecycleStateMachine.transition(INITIALIZED); } catch (RuntimeException e) { this.lifecycleStateMachine.transition(FAILED); throw new LifecycleException("Initialization Failed", e); } } protected  AbstractLifecycle(); protected  AbstractLifecycle(LifecycleStateMachine lifecycleStateMachine, LifecycleSupport lifecycleSupport); @Override final void addLifecycleListener(LifecycleListener lifecycleListener); @Override final void destroy(); @Override final LifecycleListener[] findLifecycleListeners(); @Override final LifecycleState getState(); @Override final String getStateName(); @Override final void init(); @Override final void removeLifecycleListener(LifecycleListener lifecycleListener); @Override final void start(); @Override final void stop();  }### Answer:
@Test public void init() throws LifecycleException { this.lifecycle.init(); verify(this.lifecycleStateMachine).transition(INITIALIZING); verify(this.lifecycleStateMachine).transition(INITIALIZED); }