Package | Description |
---|---|
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>>
Defines common methods for building a
MockMvc . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>>
Abstract implementation of
MockMvcBuilder with common methods for
configuring filters, default request properties, global expectations and
global result actions. |
class |
DefaultMockMvcBuilder
A concrete implementation of
AbstractMockMvcBuilder that provides
the WebApplicationContext supplied to it as a constructor argument. |
class |
StandaloneMockMvcBuilder
A
MockMvcBuilder that accepts @Controller registrations
thus allowing full control over the instantiation and initialization of
controllers and their dependencies similar to plain unit tests, and also
making it possible to test one controller at a time. |