Class PluginTestTarget

  • All Implemented Interfaces:
    au.com.dius.pact.provider.junit5.TestTarget

    
    public final class PluginTestTarget
     implements TestTarget
                        

    Test target were the verification will be provided by a plugin

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<String, Object> getUserConfig() Any user provided configuration
      IProviderInfo getProviderInfo(String serviceName, PactSource pactSource) Returns information about the provider
      Pair<Object, Object> prepareRequest(Pact pact, Interaction interaction, Map<String, Object> context) Prepares the request for the interaction.
      Boolean isHttpTarget() If this is a request response (HTTP or HTTPS) target
      ProviderResponse executeInteraction(Object client, Object request) Executes the test (using the client and request from prepareRequest, if any)
      Unit prepareVerifier(IProviderVerifier verifier, Object testInstance, Pact pact) Prepares the verifier for use during the test
      • Methods inherited from class java.lang.Object

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