@Test public void testGetFirstField() throws Throwable { Base1SubFieldPackager base1SubFieldPackager = new Base1SubFieldPackager(); ISOFieldPackager[] fld = new ISOFieldPackager[2]; fld[0] = new X92_BITMAP(100, "testBase1SubFieldPackagerDescription"); base1SubFieldPackager.setFieldPackager(fld); int result = base1SubFieldPackager.getFirstField(); assertEquals(1, result, "result"); }
protected int getFirstField() { return fld[0] instanceof ISOBitMapPackager ? 1 : 0; }
Base1SubFieldPackager extends ISOBasePackager { protected int getFirstField() { return fld[0] instanceof ISOBitMapPackager ? 1 : 0; } }
Base1SubFieldPackager extends ISOBasePackager { protected int getFirstField() { return fld[0] instanceof ISOBitMapPackager ? 1 : 0; }  }
Base1SubFieldPackager extends ISOBasePackager { protected int getFirstField() { return fld[0] instanceof ISOBitMapPackager ? 1 : 0; }  int unpack(ISOComponent m, byte[] b); @Override byte[] pack(ISOComponent m); }
Base1SubFieldPackager extends ISOBasePackager { protected int getFirstField() { return fld[0] instanceof ISOBitMapPackager ? 1 : 0; }  int unpack(ISOComponent m, byte[] b); @Override byte[] pack(ISOComponent m);  }