@Test
public void testTextBasic() throws IOException {

    ExtractReader extractReader = new ExtractReader();
    List<Metadata> metadataList = extractReader.loadExtract(testTxtFile);
    assertEquals(1, metadataList.size());
    Metadata m = metadataList.get(0);
    assertEquals(1, m.getValues(AbstractRecursiveParserWrapperHandler.TIKA_CONTENT).length);
    assertContains("the quick brown fox fox fox jumped over the lazy lazy dog",
            m.get(AbstractRecursiveParserWrapperHandler.TIKA_CONTENT));
    //test that the mime is inferred from the file extension
    assertEquals("application/msword", m.get(Metadata.CONTENT_TYPE));
}