### Question:
LeaderAvailabilityHandler implements LifecycleMessageHandler<RaftMessages.ReceivedInstantClusterIdAwareMessage<?>> { @Override public synchronized void stop() throws Throwable { delegateHandler.stop(); } LeaderAvailabilityHandler( LifecycleMessageHandler<RaftMessages.ReceivedInstantClusterIdAwareMessage<?>> delegateHandler,
            LeaderAvailabilityTimers leaderAvailabilityTimers, RaftMessageTimerResetMonitor raftMessageTimerResetMonitor, LongSupplier term ); static ComposableMessageHandler composable( LeaderAvailabilityTimers leaderAvailabilityTimers,
            RaftMessageTimerResetMonitor raftMessageTimerResetMonitor, LongSupplier term ); @Override synchronized void start( ClusterId clusterId ); @Override synchronized void stop(); @Override void handle( RaftMessages.ReceivedInstantClusterIdAwareMessage<?> message );  }### Answer:
@Test public void shouldDelegateStop() throws Throwable { handler.stop(); verify( delegate ).stop(); }