@Test public void testGetFirstField1() throws Throwable { GenericPackager genericPackager = new GenericPackager(); ISOFieldPackager[] fld = new ISOFieldPackager[3]; genericPackager.setFieldPackager(fld); int result = genericPackager.getFirstField(); assertEquals(1, result, "result"); }
@Override protected int getFirstField() { if (firstField != null) return Integer.parseInt (firstField); else return super.getFirstField(); }
GenericPackager extends ISOBasePackager implements Configurable { @Override protected int getFirstField() { if (firstField != null) return Integer.parseInt (firstField); else return super.getFirstField(); } }
GenericPackager extends ISOBasePackager implements Configurable { @Override protected int getFirstField() { if (firstField != null) return Integer.parseInt (firstField); else return super.getFirstField(); } GenericPackager();  GenericPackager(String filename);  GenericPackager(InputStream input); }
GenericPackager extends ISOBasePackager implements Configurable { @Override protected int getFirstField() { if (firstField != null) return Integer.parseInt (firstField); else return super.getFirstField(); } GenericPackager();  GenericPackager(String filename);  GenericPackager(InputStream input); void setConfiguration(Configuration cfg); void readFile(String filename); void readFile(InputStream input); @Override void setLogger(Logger logger, String realm); @Override String getDescription(); }
GenericPackager extends ISOBasePackager implements Configurable { @Override protected int getFirstField() { if (firstField != null) return Integer.parseInt (firstField); else return super.getFirstField(); } GenericPackager();  GenericPackager(String filename);  GenericPackager(InputStream input); void setConfiguration(Configuration cfg); void readFile(String filename); void readFile(InputStream input); @Override void setLogger(Logger logger, String realm); @Override String getDescription();  }