mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove unused method
See gh-21117
This commit is contained in:
parent
ff31733063
commit
54f319acd5
@ -975,15 +975,6 @@ class SpringApplicationTests {
|
||||
verifyNoMoreInteractions(listener);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void verifyRegisteredListenerFailedFromContextEvents() {
|
||||
ApplicationListener<ApplicationEvent> listener = this.context.getBean("testApplicationListener",
|
||||
ApplicationListener.class);
|
||||
InOrder inOrder = Mockito.inOrder(listener);
|
||||
inOrder.verify(listener).onApplicationEvent(isA(ApplicationFailedEvent.class));
|
||||
inOrder.verifyNoMoreInteractions();
|
||||
}
|
||||
|
||||
@Test
|
||||
void registerShutdownHookOff() {
|
||||
SpringApplication application = new SpringApplication(ExampleConfig.class);
|
||||
|
Loading…
Reference in New Issue
Block a user