Package com.github.tomakehurst.wiremock.client

Examples of com.github.tomakehurst.wiremock.client.WireMock.register()


  }

  @Test
  public void buildsMappingWithUrlOnlyRequestAndStatusOnlyResponse() {
    WireMock wireMock = new WireMock();
    wireMock.register(
        get(urlEqualTo("/my/new/resource"))
        .willReturn(
            aResponse()
            .withStatus(304)));
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.