LeaderInitiator implements SmartLifecycle { @Override public boolean isAutoStartup() { return this.leaderProperties.isAutoStartup(); } LeaderInitiator(LeaderProperties leaderProperties, LeadershipController leadershipController,
			LeaderRecordWatcher leaderRecordWatcher, PodReadinessWatcher hostPodWatcher); @Override boolean isAutoStartup(); @Override void start(); @Override void stop(); @Override void stop(Runnable callback); @Override boolean isRunning(); @Override int getPhase();  }
@Test public void testIsAutoStartup() { given(this.mockLeaderProperties.isAutoStartup()).willReturn(true); assertThat(this.leaderInitiator.isAutoStartup()).isTrue(); }