Package 

Class KTorMockServer

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getUrl() Returns the URL for this mock server.
      Integer getPort() Returns the port of the mock server.
      Pact updatePact(Pact pact) Lets the mock server annotate the Pact when ready to be written
      Unit start()
      Unit stop()
      • Methods inherited from class au.com.dius.pact.consumer.BaseMockServer

        getConfig, getPact, runAndWritePact, validateMockServerState, verifyResultAndWritePact, waitForServer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUrl

         String getUrl()

        Returns the URL for this mock server. The port will be the one bound by the server.

      • getPort

         Integer getPort()

        Returns the port of the mock server. This will be the port the server is bound to.

      • updatePact

         Pact updatePact(Pact pact)

        Lets the mock server annotate the Pact when ready to be written