Class WireMockSpring
- java.lang.Object
-
- org.springframework.cloud.contract.wiremock.WireMockSpring
-
public abstract class WireMockSpring extends Object
Convenience factory class for aWireMockConfigurationthat knows how to use Spring Boot to create a stub server. Use, for example, in a JUnit rule:@ClassRule public static WireMockClassRule wiremock = new WireMockClassRule( WireMockSpring.config());and then useWireMockas normal in your test methods.- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description WireMockSpring()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.github.tomakehurst.wiremock.core.WireMockConfigurationoptions()
-