Framework changes to AbstractContextLoader mean we need to be able to return a non-refreshed context. We might need a new method on SpringApplication or to make the new Hook interface public.

Comment From: philwebb

Work is ongoing for this in https://github.com/philwebb/spring-boot/tree/gh-31965