MockMvcBuildersto access to instances of those implementations.
ClassDescriptionAbstract implementation of
MockMvcBuilderwith common methods for configuring filters, default request properties, global expectations and global result actions.Defines common methods for building a
MockMvc.The main class to import in order to access all available
MockMvcBuilders.Contract for customizing a
ConfigurableMockMvcBuilderin some specific way, e.g.An empty method implementation of
MockMvcConfigurerthat stores and re-uses the HTTP session across multiple requests performed through the same
@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.