@Test
public void testNoFormat() throws Exception {

    ContentHandler handler = new BodyContentHandler();
    Metadata metadata = new Metadata();
    try (InputStream stream = WordParserTest.class.getResourceAsStream(
            "/test-documents/testWORD_no_format.docx")) {
        new OOXMLParser().parse(stream, handler, metadata, new ParseContext());
    }
    String content = handler.toString();
    assertContains("This is a piece of text that causes an exception", content);
}