@Test
public void applicationReadyEvent_startsNotifier() {

    Assertions.assertThat(notifier.running).isFalse();
    notifier.onApplicationEvent(mock(ApplicationReadyEvent.class));
    Assertions.assertThat(notifier.running).isTrue();
}