Dealing arrays with hamcrest and rest assured
问题 I can't figure out how to create the code using hamcrest to check an array inside array having these properties. (Imagine this as it has multiple entries with different data) { "mobilenum": "+6519829340", "firstname": "Allen", "lastname": "Edwards", "location": "Singapore" } If I use this: .body("smsentries.mobilenum", contains(equalTo("+6519829340"))); it returns that it does exist but how can I put more checks that the object it has found also has the same firstname, lastname and location?