@Test public void testPackThrowsNullPointerException() throws Throwable { try { new Base1_BITMAP126(100, "testBase1_BITMAP126Description").pack(new ISOBinaryField()); fail("Expected NullPointerException to be thrown"); } catch (NullPointerException ex) { if (isJavaVersionAtMost(JAVA_14)) { assertNull(ex.getMessage(), "ex.getMessage()"); } else { assertEquals("Cannot invoke \"java.util.BitSet.length()\" because \"b\" is null", ex.getMessage(), "ex.getMessage()"); } } }
public byte[] pack (ISOComponent c) throws ISOException { return ISOUtil.bitSet2byte ((BitSet) c.getValue()); }
Base1_BITMAP126 extends ISOBitMapPackager { public byte[] pack (ISOComponent c) throws ISOException { return ISOUtil.bitSet2byte ((BitSet) c.getValue()); } }
Base1_BITMAP126 extends ISOBitMapPackager { public byte[] pack (ISOComponent c) throws ISOException { return ISOUtil.bitSet2byte ((BitSet) c.getValue()); } Base1_BITMAP126();  Base1_BITMAP126(int len, String description); }
Base1_BITMAP126 extends ISOBitMapPackager { public byte[] pack (ISOComponent c) throws ISOException { return ISOUtil.bitSet2byte ((BitSet) c.getValue()); } Base1_BITMAP126();  Base1_BITMAP126(int len, String description); byte[] pack(ISOComponent c); int unpack(ISOComponent c, byte[] b, int offset); int getMaxPackedLength(); }
Base1_BITMAP126 extends ISOBitMapPackager { public byte[] pack (ISOComponent c) throws ISOException { return ISOUtil.bitSet2byte ((BitSet) c.getValue()); } Base1_BITMAP126();  Base1_BITMAP126(int len, String description); byte[] pack(ISOComponent c); int unpack(ISOComponent c, byte[] b, int offset); int getMaxPackedLength();  }