@Test public void testGetFieldDescription() throws Throwable { int[] sequence = new int[0]; VISA1Packager vISA1Packager = new VISA1Packager(sequence, 100, "testVISA1PackagerBadResultCode", "testVISA1PackagerOkPattern"); String result = vISA1Packager.getFieldDescription(new ISOMsg(100), 100); assertEquals("VISA 1 fld 100", result, "result"); }
public String getFieldDescription(ISOComponent m, int fldNumber) { return "VISA 1 fld "+fldNumber; }
VISA1Packager extends SimpleLogSource implements ISOPackager, VISA1ResponseFilter { public String getFieldDescription(ISOComponent m, int fldNumber) { return "VISA 1 fld "+fldNumber; } }
VISA1Packager extends SimpleLogSource implements ISOPackager, VISA1ResponseFilter { public String getFieldDescription(ISOComponent m, int fldNumber) { return "VISA 1 fld "+fldNumber; } VISA1Packager(int[] sequence, int respField, String badResultCode, String okPattern); }
VISA1Packager extends SimpleLogSource implements ISOPackager, VISA1ResponseFilter { public String getFieldDescription(ISOComponent m, int fldNumber) { return "VISA 1 fld "+fldNumber; } VISA1Packager(int[] sequence, int respField, String badResultCode, String okPattern); void setVISA1ResponseFilter(VISA1ResponseFilter filter); @Override byte[] pack(ISOComponent c); String guessAutNumber(String s); @Override int unpack(ISOComponent m, byte[] b); void unpack(ISOComponent m, InputStream in); String getFieldDescription(ISOComponent m, int fldNumber); String getDescription(); ISOMsg createISOMsg(); }
VISA1Packager extends SimpleLogSource implements ISOPackager, VISA1ResponseFilter { public String getFieldDescription(ISOComponent m, int fldNumber) { return "VISA 1 fld "+fldNumber; } VISA1Packager(int[] sequence, int respField, String badResultCode, String okPattern); void setVISA1ResponseFilter(VISA1ResponseFilter filter); @Override byte[] pack(ISOComponent c); String guessAutNumber(String s); @Override int unpack(ISOComponent m, byte[] b); void unpack(ISOComponent m, InputStream in); String getFieldDescription(ISOComponent m, int fldNumber); String getDescription(); ISOMsg createISOMsg(); static final byte[] FS; }