protected void assertPayloadEquals(final HttpRequest request, final String toMatch,
final Class<? extends SingleResourceTransportDto> entityClass, final String contentType,
final boolean contentMD5) throws IOException {
// Make sure we don't have formatting issues
SingleResourceTransportDto entity = xml.fromXML(toMatch, entityClass);
String stringToMatch = xml.toXML(entity, entityClass);
super.assertPayloadEquals(request, stringToMatch, contentType, contentMD5);
}