@Test public void handleProcessApplicationStartedEventTest() { JobExecutorStartingEventListener spy = Mockito.spy(jobExecutorStartingEventListener); spy.handleProcessApplicationStartedEvent(null); verify(spy).activate(); }
@EventListener public void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent) { activate(); }
JobExecutorStartingEventListener { @EventListener public void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent) { activate(); } }
JobExecutorStartingEventListener { @EventListener public void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent) { activate(); }  }
JobExecutorStartingEventListener { @EventListener public void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent) { activate(); }  @EventListener void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent); }
JobExecutorStartingEventListener { @EventListener public void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent) { activate(); }  @EventListener void handleProcessApplicationStartedEvent(ProcessApplicationStartedEvent processApplicationStartedEvent);  }