All Downloads are FREE. Search and download functionalities are using the official Maven repository.

v4.message.body.matches.json Maven / Gradle / Ivy

Go to download

Pact Specification ================== The [Pact Specification](https://github.com/bethesque/pact_specification) is a robust set of tests on the pact matching code aimed at ensuring pact library implementations across different languages have the same matching behaviour. Without adhering to these specifications there would be room for subtle issues to arise between consumers and providers using different libraries.

There is a newer version: 4.4.0-beta.7
Show newest version
{
  "match": true,
  "comment": "Messages match",
  "expected": {
    "contents": {
      "contentType": "application/json",
      "encoded": false,
      "content": {
        "alligator": {
          "name": "Mary",
          "feet": 4,
          "favouriteColours": [
            "red",
            "blue"
          ]
        }
      }
    }
  },
  "actual": {
    "contents": {
      "contentType": "application/json",
      "encoded": false,
      "content": {
        "alligator": {
          "feet": 4,
          "name": "Mary",
          "favouriteColours": [
            "red",
            "blue"
          ]
        }
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy