### Question:
ImageInfo { private ImageInfo() { throw new LionEngineException(LionEngineException.ERROR_PRIVATE_CONSTRUCTOR); } private  ImageInfo(); static ImageHeader get(Media media); static boolean isImage(Media media);  }### Answer:
@Test void testImageInfo() { testImageInfo(ImageFormat.PNG, 1); testImageInfo(ImageFormat.GIF, 1); testImageInfo(ImageFormat.BMP, 1); testImageInfo(ImageFormat.JPG, 3); testImageInfo(ImageFormat.TIFF, 2); final ImageHeader info = ImageInfo.get(Medias.create("image.tif")); assertEquals(64, info.getWidth()); assertEquals(32, info.getHeight()); assertEquals(ImageFormat.TIFF, info.getFormat()); assertThrows(() -> ImageInfo.get(Medias.create("image2.tiff")), "[image2.tiff] " + ImageInfo.ERROR_READ); assertFalse(ImageInfo.isImage(Medias.create("raster.xml"))); }