@Test
    public void testFeedsDetection() throws Exception {
        assertType("application/rss+xml", "rsstest_091.rss");
        assertType("application/rss+xml", "rsstest_20.rss");
        assertType("application/atom+xml", "testATOM.atom");
        assertTypeByData("application/rss+xml", "rsstest_091.rss");
        assertTypeByName("application/rss+xml", "rsstest_091.rss");
        assertTypeByData("application/rss+xml", "rsstest_20.rss");
        assertTypeByName("application/rss+xml", "rsstest_20.rss");
        assertTypeByData("application/atom+xml", "testATOM.atom");
        assertTypeByName("application/atom+xml", "testATOM.atom");
    }
Note - detecting container formats by mime magic is very very
iffy, as we can't be sure where things will end up.
People really ought to use the container aware detection...
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/mime/TestMimeTypes.java