See gh-22535
This commit is contained in:
dreis2211 2020-07-23 21:07:19 +02:00 committed by Stephane Nicoll
parent 35a011d906
commit 923474fa48
1 changed files with 4 additions and 4 deletions

View File

@ -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();
} }