@Test
    public void testJxlDetection() throws Exception {
        //test file created by: https://github.com/surma/jxl-art/blob/main/LICENSE
        assertType("image/jxl", "testJXL.jxl");
        assertTypeByData("image/jxl", "testJXL.jxl");
        assertTypeByName("image/jxl", "testJXL.jxl");

        //test file contributed by Tyler Thorsted
        //testJXL_ISOBMFF.jxl
        assertType("image/jxl", "testJXL_ISOBMFF.jxl");
        assertTypeByData("image/jxl", "testJXL_ISOBMFF.jxl");
        assertTypeByName("image/jxl", "testJXL_ISOBMFF.jxl");
    }
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