Skip to content

Commit 8313162

Browse files
committed
Merge pull request #21117 from dreis2211
* pr/21117: Remove unused method Closes gh-21117
2 parents ff31733 + 54f319a commit 8313162

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/SpringApplicationTests.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -975,15 +975,6 @@ void applicationListenerFromContextIsCalledWhenContextFailsRefreshAfterListenerR
975975
verifyNoMoreInteractions(listener);
976976
}
977977

978-
@SuppressWarnings("unchecked")
979-
private void verifyRegisteredListenerFailedFromContextEvents() {
980-
ApplicationListener<ApplicationEvent> listener = this.context.getBean("testApplicationListener",
981-
ApplicationListener.class);
982-
InOrder inOrder = Mockito.inOrder(listener);
983-
inOrder.verify(listener).onApplicationEvent(isA(ApplicationFailedEvent.class));
984-
inOrder.verifyNoMoreInteractions();
985-
}
986-
987978
@Test
988979
void registerShutdownHookOff() {
989980
SpringApplication application = new SpringApplication(ExampleConfig.class);

0 commit comments

Comments
 (0)