Uses of Interface
org.springframework.test.web.servlet.MockMvcBuilder
Packages that use MockMvcBuilder
Package
Description
Support for testing Spring MVC applications via
RestTestClient
with
MockMvc
for server request handling.Contains built-in
MockMvcBuilder
implementations.-
Uses of MockMvcBuilder in org.springframework.test.web.servlet.client
Classes in org.springframework.test.web.servlet.client with type parameters of type MockMvcBuilderModifier and TypeInterfaceDescriptionstatic interface
RestTestClient.MockMvcSetupBuilder<S extends RestTestClient.Builder<S>, M extends MockMvcBuilder>
Extension ofRestTestClient.Builder
for tests against a MockMvc server. -
Uses of MockMvcBuilder in org.springframework.test.web.servlet.setup
Subinterfaces of MockMvcBuilder in org.springframework.test.web.servlet.setupModifier and TypeInterfaceDescriptioninterface
ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>>
Defines common methods for building aMockMvc
.Classes in org.springframework.test.web.servlet.setup that implement MockMvcBuilderModifier 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 acceptsRouterFunction
registrations thus allowing full control over the instantiation and initialization of router functions and their dependencies similar to plain unit tests, and also making it possible to test one function at a time.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.