@Test
    public void testWordPerfectParser() throws Exception {
        XMLResult r = getXML("testWordPerfect.wpd");
        assertEquals(WordPerfectParser.WP_6_x.toString(), r.metadata.get(Metadata.CONTENT_TYPE));
        assertEquals(1, r.metadata.getValues(Metadata.CONTENT_TYPE).length);
        assertContains("<p>AND FURTHER</p>", r.xml);
        assertContains("test1-2", r.xml);
    }
Junit test class for the {@link WordPerfectParser}.

@author Pascal Essiembre
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/test/java/org/apache/tika/parser/wordperfect/WordPerfectTest.java