Uses of Class
org.springframework.test.web.servlet.assertj.MockMvcTester
Packages that use MockMvcTester
-
Uses of MockMvcTester in org.springframework.test.web.servlet.assertj
Methods in org.springframework.test.web.servlet.assertj that return MockMvcTesterModifier and TypeMethodDescriptionstatic MockMvcTester
Create an instance that delegates to the givenMockMvc
instance.static MockMvcTester
MockMvcTester.from
(WebApplicationContext applicationContext) Shortcut to create an instance using the given fully initialized (i.e., refreshed)WebApplicationContext
.static MockMvcTester
MockMvcTester.from
(WebApplicationContext applicationContext, Function<DefaultMockMvcBuilder, MockMvc> customizations) Create an instance using the given, fully initialized (i.e., refreshed)WebApplicationContext
.static MockMvcTester
Shortcut to create an instance by registering one or more@Controller
instances.static MockMvcTester
MockMvcTester.of
(Collection<?> controllers, Function<StandaloneMockMvcBuilder, MockMvc> customizations) Create an instance by registering one or more@Controller
instances and configuring Spring MVC infrastructure programmatically.MockMvcTester.withHttpMessageConverters
(Iterable<HttpMessageConverter<?>> httpMessageConverters) Return a new instance using the specified message converters.