Uses of Class
org.springframework.test.web.servlet.setup.DefaultMockMvcBuilder
Packages that use DefaultMockMvcBuilder
Package
Description
AssertJ support for MockMvc.
Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.Contains built-in
MockMvcBuilder implementations.-
Uses of DefaultMockMvcBuilder in org.springframework.test.web.servlet.assertj
Method parameters in org.springframework.test.web.servlet.assertj with type arguments of type DefaultMockMvcBuilderModifier and TypeMethodDescriptionstatic MockMvcTesterMockMvcTester.from(WebApplicationContext applicationContext, Function<DefaultMockMvcBuilder, MockMvc> customizations) Create an instance using the given, fully initialized (i.e., refreshed)WebApplicationContext. -
Uses of DefaultMockMvcBuilder in org.springframework.test.web.servlet.client
Subinterfaces with type arguments of type DefaultMockMvcBuilder in org.springframework.test.web.servlet.clientModifier and TypeInterfaceDescriptionstatic interfaceExtension ofRestTestClient.Builderfor tests against а WebAppContext MockMvc setup. -
Uses of DefaultMockMvcBuilder in org.springframework.test.web.servlet.setup
Subclasses with type arguments of type DefaultMockMvcBuilder in org.springframework.test.web.servlet.setupModifier and TypeClassDescriptionclassA concrete implementation ofAbstractMockMvcBuilderthat provides theWebApplicationContextsupplied to it as a constructor argument.Methods in org.springframework.test.web.servlet.setup that return DefaultMockMvcBuilderModifier and TypeMethodDescriptionstatic DefaultMockMvcBuilderMockMvcBuilders.webAppContextSetup(WebApplicationContext context) Build aMockMvcinstance using the given, fully initialized (i.e., refreshed)WebApplicationContext.