public static interface FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
Modifier and Type | Method and Description |
---|---|
boolean |
matches(org.apache.http.HttpEntity actualPostBody)
Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.
|
boolean matches(org.apache.http.HttpEntity actualPostBody) throws java.io.IOException
Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.
actualPostBody
- The post body of the actual request that we are matching against.java.io.IOException
- Get turned into a RuntimeException to cause your test to fail.