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 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.IOException - Get turned into a RuntimeException to cause your test to fail.