@Test
public void testInputStreamDataError() throws ConversionException {

    InputStream inputStream = new ByteArrayInputStream(new byte[] { 4, 8, 33 });
    assertThrows(ConversionException.class,
            () -> new Bin2Json("ubyte length; ubyte[length] data;").convert(inputStream));
}