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 interfaceRestTestClient.MockMvcSetupBuilder<S extends RestTestClient.Builder<S>, M extends MockMvcBuilder>Extension ofRestTestClient.Builderfor 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 TypeInterfaceDescriptioninterfaceConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder<B>>Defines common methods for building aMockMvc.Classes in org.springframework.test.web.servlet.setup that implement MockMvcBuilderModifier and TypeClassDescriptionclassAbstractMockMvcBuilder<B extends AbstractMockMvcBuilder<B>>Abstract implementation ofMockMvcBuilderwith common methods for configuring filters, default request properties, global expectations and global result actions.classA concrete implementation ofAbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument.classAMockMvcBuilderthat acceptsRouterFunctionregistrations 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.classAMockMvcBuilderthat accepts@Controllerregistrations 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.