@Test
public void testUnpackThrowsNegativeArraySizeException() throws Throwable {
byte[] bytes = new byte[0];
InputStream in = new ByteArrayInputStream(bytes);
try {
new Base1_BITMAP126(-1, "testISOFieldPackagerDescription").unpack(new IFB_AMOUNT().createComponent(100), in);
fail("Expected NegativeArraySizeException to be thrown");
} catch (NegativeArraySizeException ex) {
assertNull("ex.getMessage()", ex.getMessage());
assertEquals("(ByteArrayInputStream) in.available()", 0, in.available());
}