See gh-22535
pull/22549/head
dreis2211 4 years ago committed by Stephane Nicoll
parent 35a011d906
commit 923474fa48

@ -64,22 +64,22 @@ class EnvironmentPostProcessorApplicationListenerTests {
} }
@Test @Test
void supporteEventTypeWhenApplicationEnvironmentPreparedEventReturnsTrue() { void supportsEventTypeWhenApplicationEnvironmentPreparedEventReturnsTrue() {
assertThat(this.listener.supportsEventType(ApplicationEnvironmentPreparedEvent.class)).isTrue(); assertThat(this.listener.supportsEventType(ApplicationEnvironmentPreparedEvent.class)).isTrue();
} }
@Test @Test
void supporteEventTypeWhenApplicationPreparedEventReturnsTrue() { void supportsEventTypeWhenApplicationPreparedEventReturnsTrue() {
assertThat(this.listener.supportsEventType(ApplicationPreparedEvent.class)).isTrue(); assertThat(this.listener.supportsEventType(ApplicationPreparedEvent.class)).isTrue();
} }
@Test @Test
void supporteEventTypeWhenApplicationFailedEventReturnsTrue() { void supportsEventTypeWhenApplicationFailedEventReturnsTrue() {
assertThat(this.listener.supportsEventType(ApplicationFailedEvent.class)).isTrue(); assertThat(this.listener.supportsEventType(ApplicationFailedEvent.class)).isTrue();
} }
@Test @Test
void supporteEventTypeWhenOtherEventReturnsFalse() { void supportsEventTypeWhenOtherEventReturnsFalse() {
assertThat(this.listener.supportsEventType(ApplicationStartingEvent.class)).isFalse(); assertThat(this.listener.supportsEventType(ApplicationStartingEvent.class)).isFalse();
} }

Loading…
Cancel
Save