### Question:
BeekeeperSchedulerApiary implements ApplicationContextAware { @VisibleForTesting public static boolean isRunning() { return context != null && context.isRunning(); }  static void main(String[] args); @VisibleForTesting static boolean isRunning(); @VisibleForTesting static void stop(); @VisibleForTesting static MeterRegistry meterRegistry(); @VisibleForTesting static void resetStaticContext(); @Override void setApplicationContext(ApplicationContext applicationContext);  }### Answer:
@Test public void verifyIsRunning() { setupContextMock(true, true, true); when(contextMock.isRunning()).thenReturn(true); boolean isRunning = BeekeeperSchedulerApiary.isRunning(); assertThat(isRunning).isTrue(); }