### Question:
MD5Filter implements ISOFilter, Configurable { public int[] getFields (ISOMsg m) { return fields; } MD5Filter(); void setConfiguration(Configuration cfg); void setFields(int[] fields); int[] getFields(ISOMsg m); ISOMsg filter(ISOChannel channel, ISOMsg m, LogEvent evt);  }### Answer:
@Test public void testGetFields() throws Throwable { int[] fields = new int[3]; MD5Filter mD5Filter = new MD5Filter(); mD5Filter.setFields(fields); int[] result = mD5Filter.getFields(new ISOMsg("testMD5FilterMti")); assertSame(fields, result, "result"); assertEquals(0, fields[0], "fields[0]"); }