@ParameterizedTest
    @MethodSource("data")
    void testImageInfo(final File imageFile) throws ImagingException, IOException {
        final ImageInfo imageInfo = Imaging.getImageInfo(imageFile);
        assertNotNull(imageInfo);
        // TODO assert more
    }
Test that when the value of the mask parameter is zero, getMaskShift won't get stuck in one of its while loops.

@throws IOException
@throws ImagingException
src/test/java/org/apache/commons/imaging/formats/bmp/BmpReadTest.java