public abstract class WireMockSpring extends Object
WireMockConfiguration
that 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 use
WireMock
as normal in your test methods.Constructor and Description |
---|
WireMockSpring() |
Modifier and Type | Method and Description |
---|---|
static com.github.tomakehurst.wiremock.core.WireMockConfiguration |
options() |
Copyright © 2016–2018 Spring. All rights reserved.