Class SpringBootMockServletContext

java.lang.Object
org.springframework.mock.web.MockServletContext
org.springframework.boot.test.mock.web.SpringBootMockServletContext
All Implemented Interfaces:
ServletContext

public class SpringBootMockServletContext extends MockServletContext
MockServletContext implementation for Spring Boot. Respects well-known Spring Boot resource locations and uses an empty directory for "/" if no locations can be found.
Since:
1.4.0
Author:
Phillip Webb