@Test
    public void testWebArchiveDetection() throws Exception {
        assertTypeByName("application/x-webarchive", "x.webarchive");
        assertTypeByData("application/x-bplist", "testWEBARCHIVE.webarchive");
        assertTypeByNameAndData("application/x-webarchive", "testWEBARCHIVE.webarchive");
    }
Tests MimeTypes.getMimeType(URL), which examines both the byte header
and, if necessary, the URL's extension.
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/mime/TestMimeTypes.java