批注接口 AutoConfigureMockWebServiceServer
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Inherited
@ImportAutoConfiguration
@PropertyMapping("spring.test.webservice.client.mockserver")
public @interface AutoConfigureMockWebServiceServer
Annotation that can be applied to a test class to enable and configure
auto-configuration of a single
MockWebServiceServer.- 从以下版本开始:
- 2.3.0
- 作者:
- Dmytro Nosan
-
可选元素概要
可选元素
-
元素详细资料
-
enabled
boolean enabledIfMockWebServiceServerbean should be registered. Defaults totrue.- 返回:
- if mock support is enabled
- 默认值:
true
-