@Test
    public void testJavaDetection() throws Exception {
        // TODO Classloader doesn't seem to find the .class file in test-documents
        //assertTypeDetection("AutoDetectParser.class", "application/java-vm");

        // OSX Native Extension
        assertTypeDetection("testJNILIB.jnilib",
                "application/x-java-jnilib",
                "application/x-mach-o-universal",
                "application/x-java-jnilib");
    }
Formats which are based on plain text
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/mime/TestMimeTypes.java