@Test
    public void testHyperlinkSurroundedByItalics() throws Exception {
        //TIKA-2599
        String xml = getXML("testWORD_italicsSurroundingHyperlink.doc").xml;
        xml = xml.replaceAll("\\s+", " ");
        assertContains(
                "<body><p><i>Italic Test before link </i><a href=\"http://www.google.com\"><b><i>" +
                        "<u>hyperlink italics</u></i></b></a><i> Italic text after " +
                        "hyperlink</i></p>",
                xml);
    }
TIKA-1229 Hyperlinks in Headers should be output as such,
not plain text with control characters
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/java/org/apache/tika/parser/microsoft/WordParserTest.java