Uses of Class
org.springframework.test.web.servlet.assertj.MockMvcTester
-
Uses of MockMvcTester in org.springframework.test.web.servlet.assertj
Modifier 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.