Interface FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
-
- Enclosing class:
- FakeHttpLayer.RequestMatcherBuilder
public static interface FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(org.apache.http.HttpEntity actualPostBody)Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.
-
-
-
Method Detail
-
matches
boolean matches(org.apache.http.HttpEntity actualPostBody) throws IOExceptionHint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method.- Parameters:
actualPostBody- The post body of the actual request that we are matching against.- Returns:
- true if you consider the body to match
- Throws:
IOException- Get turned into a RuntimeException to cause your test to fail.
-
-