Annotation Interface 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.
Since:
2.3.0
Author:
Dmytro Nosan
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If MockWebServiceServer bean should be registered.
  • Element Details

    • enabled

      boolean enabled
      If MockWebServiceServer bean should be registered. Defaults to true.
      Returns:
      if mock support is enabled
      Default:
      true