Package au.com.dius.pact.provider
Interface IResponseComparison
-
- All Implemented Interfaces:
public interface IResponseComparisonInterface to the utility class that provides the logic to compare responses
-
-
Method Summary
Modifier and Type Method Description abstract ComparisonResultcompareResponse(IResponse response, ProviderResponse actualResponse)abstract ComparisonResultcompareResponse(IResponse response, ProviderResponse actualResponse, Map<String, PluginConfiguration> pluginConfiguration)abstract ComparisonResultcompareMessage(MessageInteraction message, OptionalBody actual)abstract ComparisonResultcompareMessage(MessageInteraction message, OptionalBody actual, Map<String, Object> metadata)abstract ComparisonResultcompareMessage(MessageInteraction message, OptionalBody actual, Map<String, Object> metadata, Map<String, PluginConfiguration> pluginConfiguration)abstract ComparisonResultcompareSynchronousMessage(V4Interaction.SynchronousMessages interaction, OptionalBody body, Map<String, Object> messageMetadata, Map<String, PluginConfiguration> pluginConfiguration)-
-
Method Detail
-
compareResponse
@Deprecated(message = "Use version that takes pluginConfiguration parameter") abstract ComparisonResult compareResponse(IResponse response, ProviderResponse actualResponse)
-
compareResponse
abstract ComparisonResult compareResponse(IResponse response, ProviderResponse actualResponse, Map<String, PluginConfiguration> pluginConfiguration)
-
compareMessage
@Deprecated(message = "Use version that takes pluginConfiguration parameter") abstract ComparisonResult compareMessage(MessageInteraction message, OptionalBody actual)
-
compareMessage
@Deprecated(message = "Use version that takes pluginConfiguration parameter") abstract ComparisonResult compareMessage(MessageInteraction message, OptionalBody actual, Map<String, Object> metadata)
-
compareMessage
abstract ComparisonResult compareMessage(MessageInteraction message, OptionalBody actual, Map<String, Object> metadata, Map<String, PluginConfiguration> pluginConfiguration)
-
compareSynchronousMessage
abstract ComparisonResult compareSynchronousMessage(V4Interaction.SynchronousMessages interaction, OptionalBody body, Map<String, Object> messageMetadata, Map<String, PluginConfiguration> pluginConfiguration)
-
-
-
-