Uses of Interface
org.springframework.test.web.servlet.MockMvcBuilder
Package
Description
Contains built-in
MockMvcBuilder
implementations.-
Uses of MockMvcBuilder in org.springframework.test.web.servlet.setup
Modifier and TypeInterfaceDescriptioninterface
ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>>
Defines common methods for building aMockMvc
.Modifier and TypeClassDescriptionclass
AbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>>
Abstract implementation ofMockMvcBuilder
with common methods for configuring filters, default request properties, global expectations and global result actions.class
A concrete implementation ofAbstractMockMvcBuilder
that provides theWebApplicationContext
supplied to it as a constructor argument.class
AMockMvcBuilder
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.