Merge pull request #22535 from dreis2211

* pr/22535:
  Polish

Closes gh-22535
pull/22549/head
Stephane Nicoll 4 years ago
commit 6b96a8de7f

@ -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