Commit 83131629 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #21117 from dreis2211

* pr/21117:
  Remove unused method

Closes gh-21117
parents ff317330 54f319ac
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment