String actualContent = new String(realRequest.getBodyContent());
boolean hasMatchingBodyContent = expectedRequest.getBodyContentMatcher().matches(actualContent);
if (!hasMatchingBodyContent) {
StringDescription description = new StringDescription();
expectedRequest.getBodyContentMatcher().describeTo(description);
description.appendText(" ");
expectedRequest.getBodyContentMatcher().describeMismatch(actualContent, description);
LOGGER.info("({} {}) REJECTED on content: Expected {}", realRequest.getMethod(), realRequest.getPath(), description.toString());
return false;
}
}