Annotation Type 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
Modifier and TypeOptional ElementDescriptionboolean
IfMockWebServiceServer
bean should be registered.
-
Element Details
-
enabled
boolean enabledIfMockWebServiceServer
bean should be registered. Defaults totrue
.- Returns:
- if mock support is enabled
- Default:
- true
-