@Test
    public void testXMPMM() throws Exception {

        Metadata m = getXML("testPDF_twoAuthors.pdf").metadata;
        assertEquals("uuid:0e46913c-72b9-40c0-8232-69e362abcd1e", m.get(XMPMM.DOCUMENTID));

        m = getXML("testPDF_Version.11.x.PDFA-1b.pdf").metadata;
        assertEquals("uuid:cccee1fc-51b3-4b52-ac86-672af3974d25", m.get(XMPMM.DOCUMENTID));

        //now test for 7 elements in each parallel array
        //from the history section
        assertArrayEquals(
                new String[]{"uuid:0313504b-a0b0-4dac-a9f0-357221f2eadf",
                    "uuid:edc4279e-0d5f-465e-b13e-1298402fd11c",
                    "uuid:f565b775-43f3-4a9a-8541-e98c4115db6d",
                    "uuid:9fd5e0a8-14a5-4920-ad7f-870c0b8ee65f",
                    "uuid:09b6cfba-efde-4e07-a77f-70de858cc0aa",
                    "uuid:1e4ffbd7-dabc-4aae-801c-15b3404ade36",
                    "uuid:c1669773-a6ca-4bdd-aade-519030d0af00"},
                m.getValues(XMPMM.HISTORY_EVENT_INSTANCEID));

        assertArrayEquals(
                new String[]{"converted", "converted", "converted", "converted", "converted",
                        "converted", "converted"}, m.getValues(XMPMM.HISTORY_ACTION));

        assertArrayEquals(
                new String[]{"Preflight", "Preflight", "Preflight", "Preflight", "Preflight",
                        "Preflight", "Preflight"}, m.getValues(XMPMM.HISTORY_SOFTWARE_AGENT));

        assertArrayEquals(
                new String[]{"2014-03-04T22:50:41Z", "2014-03-04T22:50:42Z", "2014-03-04T22:51:34Z",
                        "2014-03-04T22:51:36Z", "2014-03-04T22:51:37Z", "2014-03-04T22:52:22Z",
                        "2014-03-04T22:54:48Z"}, m.getValues(XMPMM.HISTORY_WHEN));
    }
Test to ensure that Links are extracted from the text
<p/>
Note - the PDF contains the text "This is a hyperlink" which
a hyperlink annotation, linking to the tika site, on it. This
test will need updating when we're able to apply the annotation
to the text itself, rather than following on afterwards as now
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pdf-module/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java