@Test
    public void testHyperLinkAndStyles() throws Exception {
        String content = getXML("testRTFHyperlinkAndStyles.rtf").xml;
        String needle = "<b><i>DIP</i>: " +
                "<a href=\"..\\\\..\\\\SAUCES\\\\Dips\\\\Dip, Caesar.doc\">Dip, Caesar.doc</a></b>";
        assertContains(needle, content);
    }
Junit test class for the Tika {@link RTFParser}
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/java/org/apache/tika/parser/microsoft/rtf/RTFParserTest.java