Package | Description |
---|---|
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMockMvcBuilder<Self extends DefaultMockMvcBuilder>
An concrete implementation of
MockMvcBuilder with methods for
configuring filters, default request properties, and global expectations and
result actions. |
Modifier and Type | Class and Description |
---|---|
class |
StandaloneMockMvcBuilder
A MockMvcBuilder that accepts
@Controller registrations thus allowing
full control over the instantiation and the initialization of controllers and
their dependencies similar to plain unit tests, and also making it possible
to test one controller at a time. |
Modifier and Type | Method and Description |
---|---|
static DefaultMockMvcBuilder<DefaultMockMvcBuilder<?>> |
MockMvcBuilders.webAppContextSetup(WebApplicationContext context)
Build a
MockMvc using the given, fully initialized, i.e. |
Modifier and Type | Method and Description |
---|---|
static DefaultMockMvcBuilder<DefaultMockMvcBuilder<?>> |
MockMvcBuilders.webAppContextSetup(WebApplicationContext context)
Build a
MockMvc using the given, fully initialized, i.e. |
Copyright © 2015. All rights reserved.