mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 21:59:02 +00:00
Merge pull request #22535 from dreis2211
* pr/22535: Polish Closes gh-22535
This commit is contained in:
+4
-4
@@ -64,22 +64,22 @@ class EnvironmentPostProcessorApplicationListenerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void supporteEventTypeWhenApplicationEnvironmentPreparedEventReturnsTrue() {
|
||||
void supportsEventTypeWhenApplicationEnvironmentPreparedEventReturnsTrue() {
|
||||
assertThat(this.listener.supportsEventType(ApplicationEnvironmentPreparedEvent.class)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
void supporteEventTypeWhenApplicationPreparedEventReturnsTrue() {
|
||||
void supportsEventTypeWhenApplicationPreparedEventReturnsTrue() {
|
||||
assertThat(this.listener.supportsEventType(ApplicationPreparedEvent.class)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
void supporteEventTypeWhenApplicationFailedEventReturnsTrue() {
|
||||
void supportsEventTypeWhenApplicationFailedEventReturnsTrue() {
|
||||
assertThat(this.listener.supportsEventType(ApplicationFailedEvent.class)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
void supporteEventTypeWhenOtherEventReturnsFalse() {
|
||||
void supportsEventTypeWhenOtherEventReturnsFalse() {
|
||||
assertThat(this.listener.supportsEventType(ApplicationStartingEvent.class)).isFalse();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user