File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
spring-boot-project/spring-boot/src/test/java/org/springframework/boot Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -975,15 +975,6 @@ void applicationListenerFromContextIsCalledWhenContextFailsRefreshAfterListenerR
975
975
verifyNoMoreInteractions (listener );
976
976
}
977
977
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
-
987
978
@ Test
988
979
void registerShutdownHookOff () {
989
980
SpringApplication application = new SpringApplication (ExampleConfig .class );
You can’t perform that action at this time.
0 commit comments