public interface BodyMatcher
| Modifier and Type | Method and Description |
|---|---|
MatchingType |
matchingType() |
Integer |
maxTypeOccurrence() |
Integer |
minTypeOccurrence() |
String |
path() |
Object |
value() |
MatchingType matchingType()
String path()
Object value()
$.a to be matched. by type, the defined response
body contained an integer but the actual one contained a string then the assertion
should fail.Integer minTypeOccurrence()
Integer maxTypeOccurrence()
Copyright © 2016–2020 Spring. All rights reserved.