public class PathBodyMatcher extends Object implements BodyMatcher
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
MatchingType |
matchingType() |
Integer |
maxTypeOccurrence() |
Integer |
minTypeOccurrence() |
String |
path() |
String |
toString() |
Object |
value() |
public MatchingType matchingType()
matchingType
in interface BodyMatcher
public String path()
path
in interface BodyMatcher
public Object value()
value
in interface BodyMatcher
$.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.public Integer minTypeOccurrence()
minTypeOccurrence
in interface BodyMatcher
public Integer maxTypeOccurrence()
maxTypeOccurrence
in interface BodyMatcher
Copyright © 2016–2019 Spring. All rights reserved.