### Question:
IFB_AMOUNT extends ISOFieldPackager { public int unpack (ISOComponent c, byte[] b, int offset) throws ISOException { String d = new String(b, offset, 1) + interpreter.uninterpret(b, offset + 1, getLength() - 1); c.setValue(d); return 1 + (getLength() >> 1); } IFB_AMOUNT();  IFB_AMOUNT(int len, String description, boolean pad); void setPad(boolean pad); byte[] pack(ISOComponent c); int unpack(ISOComponent c, byte[] b, int offset); int getMaxPackedLength();  }### Answer:
@Test public void testUnpack() throws Exception { byte[] raw = new byte[]{68, 0x00, 0x01, 0x23}; IFB_AMOUNT packager = new IFB_AMOUNT(6, "Should be D00123", true); ISOField field = new ISOField(12); packager.unpack(field, raw, 0); assertEquals("D00123", (String) field.getValue()); }