Package 

Interface MockServer

    • Method Summary

      Modifier and Type Method Description
      abstract String getUrl() Returns the URL for this mock server.
      abstract Integer getPort() Returns the port of the mock server.
      abstract <R extends Any> PactVerificationResult runAndWritePact(BasePact pact, PactSpecVersion pactVersion, PactTestRun<R> testFn) This will start the mock server and execute the test function.
      abstract PactVerificationResult validateMockServerState(Object testResult) Returns the results of validating the mock server state
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait