@Test
public void testJPEGXMPMM() throws Exception {

    Metadata metadata = new Metadata();
    metadata.set(Metadata.CONTENT_TYPE, "image/jpeg");
    try (InputStream stream =
                 getClass().getResourceAsStream("/test-documents/testJPEG_EXIF_emptyDateTime.jpg")) {
        parser.parse(stream, new DefaultHandler(), metadata, new ParseContext());
    }
    //TODO: when jempbox is fixed/xmpbox is used
    //add tests for history...currently not extracted
    assertEquals("xmp.did:49E997348D4911E1AB62EBF9B374B234",
            metadata.get(XMPMM.DOCUMENTID));
}