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. |
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. |
Copyright © 2015. All rights reserved.