Package | Description |
---|---|
io.restassured.module.mockmvc.config | |
io.restassured.module.mockmvc.internal |
Modifier and Type | Method and Description |
---|---|
MockMvcConfig |
MockMvcConfig.automaticallyApplySpringRestDocsMockMvcSupport()
Instruct REST Assured Mock Mvc to automatically apply support for
spring-restdocs-mockmvc if it's available in the classpath. |
MockMvcConfig |
MockMvcConfig.automaticallyApplySpringRestDocsMockMvcSupport(boolean automaticallyApplySpringRestDocsMockMvcSupport)
Instructs REST Assured whether or not to automatically support
spring-restdocs-mockmvc if available in classpath. |
MockMvcConfig |
MockMvcConfig.automaticallyApplySpringSecurityMockMvcConfigurer()
Instruct REST Assured Mock Mvc to automatically apply the SpringSecurityMockMvcConfigurer if it's available in the classpath.
|
MockMvcConfig |
MockMvcConfig.automaticallyApplySpringSecurityMockMvcConfigurer(boolean shouldAutomaticallyApplySpringSecurityMockMvcConfigurer)
Instructs REST Assured to automatically apply the SecurityMockMvcConfigurer that allows for Spring Security testing.
|
MockMvcConfig |
MockMvcConfig.dontAutomaticallyApplySpringRestDocsMockMvcSupport()
Instruct REST Assured Mock Mvc not to automatically apply support for
spring-restdocs-mockmvc even if it's available in the classpath. |
MockMvcConfig |
MockMvcConfig.dontAutomaticallyApplySpringSecurityMockMvcConfigurer()
Instruct REST Assured Mock Mvc not to automatically apply the SpringSecurityMockMvcConfigurer even if it's available in the classpath.
|
MockMvcConfig |
RestAssuredMockMvcConfig.getMockMvcConfig() |
static MockMvcConfig |
MockMvcConfig.mockMvcConfig()
Just syntactic sugar.
|
MockMvcConfig |
MockMvcConfig.with()
Just syntactic sugar to make the DSL more english like.
|
Modifier and Type | Method and Description |
---|---|
RestAssuredMockMvcConfig |
RestAssuredMockMvcConfig.mockMvcConfig(MockMvcConfig mockMvcConfig)
Set the MockMVC config
|
Modifier and Type | Method and Description |
---|---|
org.springframework.test.web.servlet.MockMvc |
MockMvcFactory.build(MockMvcConfig config) |
Copyright © 2010–2020. All rights reserved.