Package kong.unirest.core
Class EqualsBodyMatcher
java.lang.Object
kong.unirest.core.EqualsBodyMatcher
- All Implemented Interfaces:
BodyMatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionindicates if the Matcher succeeded in matching the body
-
Field Details
-
expected
-
-
Constructor Details
-
EqualsBodyMatcher
-
-
Method Details
-
matches
Description copied from interface:BodyMatcher
indicates if the Matcher succeeded in matching the body- Specified by:
matches
in interfaceBodyMatcher
- Parameters:
body
- the list of body parts- Returns:
- MatchStatus indicating if the Matcher succeeded in matching the body
- Throws:
AssertionError
-