Package org.wiremock.spring.internal
Class WireMockContextCustomizerFactory
java.lang.Object
org.wiremock.spring.internal.WireMockContextCustomizerFactory
- All Implemented Interfaces:
org.springframework.test.context.ContextCustomizerFactory
public class WireMockContextCustomizerFactory
extends Object
implements org.springframework.test.context.ContextCustomizerFactory
Creates
WireMockContextCustomizer for test classes annotated with EnableWireMock.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.test.context.ContextCustomizercreateContextCustomizer(Class<?> testClass, List<org.springframework.test.context.ContextConfigurationAttributes> configAttributes)
-
Constructor Details
-
WireMockContextCustomizerFactory
public WireMockContextCustomizerFactory()
-
-
Method Details
-
createContextCustomizer
public org.springframework.test.context.ContextCustomizer createContextCustomizer(Class<?> testClass, List<org.springframework.test.context.ContextConfigurationAttributes> configAttributes) - Specified by:
createContextCustomizerin interfaceorg.springframework.test.context.ContextCustomizerFactory
-