批注接口 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
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
    If MockWebServiceServer bean should be registered.
  • 元素详细资料

    • enabled

      boolean enabled
      If MockWebServiceServer bean should be registered. Defaults to true.
      返回:
      if mock support is enabled
      默认值:
      true