Package | Description |
---|---|
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
Class and Description |
---|
DefaultMockMvcBuilder
An concrete implementation of
MockMvcBuilder with methods for
configuring filters, default request properties, and global expectations and
result actions. |
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.