@Test
public void testUnpackThrowsNullPointerException2() throws Throwable {
int[] sequence = new int[2];
VISA1Packager vISA1Packager = new VISA1Packager(sequence, 100, "testVISA1PackagerBadResultCode", null);
byte[] b = new byte[3];
ISOComponent m = new ISOMsg();
try {
vISA1Packager.unpack(m, b);
fail("Expected NullPointerException to be thrown");
} catch (NullPointerException ex) {
assertEquals("(ISOMsg) m.getMaxField()", 100, ((ISOMsg) m).getMaxField());