* Checks the values on the thumbnail and image metadata fields.
*
* @param wrapper the wrapper
*/
private static void checkElementFields(MutableClientAttachment wrapper) {
ImageMetadata attachmentImage = wrapper.getContentImageMetadata();
assertEquals(IMAGE_HEIGHT, attachmentImage.getHeight());
assertEquals(IMAGE_WIDTH, attachmentImage.getWidth());
ImageMetadata attachmentThumbnail = wrapper.getThumbnailImageMetadata();
assertEquals(THUMB_HEIGHT, attachmentThumbnail.getHeight());
assertEquals(THUMB_WIDTH, attachmentThumbnail.getWidth());
}