@Test
    void testWebPChunkInvalidSizeBytes() {
        final ImagingException exception = assertThrows(ImagingException.class, () -> {
            new WebPChunkIccp(0, 10, new byte[] {});
        });
        assertEquals("Chunk size must match bytes length", exception.getMessage());
    }
Test that the given size, and the byte array length match.
src/test/java/org/apache/commons/imaging/formats/webp/WebPReadTest.java