WebApplicationContextUtils.getWebApplicationContext(ServletContext) always returns null when called from tests in my Spring Boot 1.2.7 based app, even when they are annotated with @WebAppConfiguration ...
I'm porting a Spring app to Spring Boot 2.0.x and observed a different behavior with ServletContext resources. Here's the non-boot test, and works as expected. And here's the boot test, but fails to ...