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 aMockMvcTester
instance that delegates to the givenMockMvc
instance.static MockMvcTester
MockMvcTester.from
(WebApplicationContext applicationContext) Shortcut to create anMockMvcTester
instance using the given, fully initialized (i.e., refreshed)WebApplicationContext
.static MockMvcTester
MockMvcTester.from
(WebApplicationContext applicationContext, Function<DefaultMockMvcBuilder, MockMvc> customizations) Create anMockMvcTester
instance using the given, fully initialized (i.e., refreshed)WebApplicationContext
.static MockMvcTester
Shortcut to create anMockMvcTester
instance by registering one or more@Controller
instances.static MockMvcTester
MockMvcTester.of
(Collection<?> controllers, Function<StandaloneMockMvcBuilder, MockMvc> customizations) Create anMockMvcTester
instance by registering one or more@Controller
instances and configuring Spring MVC infrastructure programmatically.MockMvcTester.withHttpMessageConverters
(Iterable<HttpMessageConverter<?>> httpMessageConverters) Return a newMockMvcTester
instance using the specified message converters.