@Test
    public void testICNS_basic() throws Exception {
        Metadata metadata = new Metadata();
        metadata.set(Metadata.CONTENT_TYPE, "image/icns");
        metadata.set("Icons count", "1");
        metadata.set("Icons details", "512x512 (JPEG 2000 or PNG format)");


        try (InputStream stream = getClass()
                .getResourceAsStream("/test-documents/testICNS_basic.icns")) {
            parser.parse(stream, new DefaultHandler(), metadata, new ParseContext());
        }
    }
Tests a very basic icns file, with one icon and no masks
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/java/org/apache/tika/parser/image/ICNSParserTest.java