@Test
public void testSimple() throws Exception {

    Metadata metadata = new Metadata();
    InputStream stream =
            getClass().getResourceAsStream("/test-documents/IMG_1034.heic");
    parser.parse(stream, new DefaultHandler(), metadata, new ParseContext());
    assertEquals("heic", metadata.get("Major Brand"));
    assertEquals("512 pixels", metadata.get("Width"));
    assertEquals("512 pixels", metadata.get("Height"));
    assertEquals("image/heic", metadata.get(Metadata.CONTENT_TYPE));
    IOUtils.closeQuietly(stream);
}