Map expectedFieldValues = new Hashtable();
expectedFieldValues.put(new Integer(EXIF_TAG_MAKE.tag), "Canon");
expectedFieldValues.put(new Integer(EXIF_TAG_MODEL.tag), "Canon PowerShot SD750");
expectedFieldValues.put(new Integer(EXIF_TAG_MODIFY_DATE.tag), "2007:12:25 13:34:39");
Iterator expectedTags = expectedFieldValues.keySet().iterator();
while (expectedTags.hasNext()) {
Integer tag = (Integer) expectedTags.next();
Object expectedValue = expectedFieldValues.get(tag);
assertTrue(fieldMap.containsKey(tag));