### Question:
ISOBasePackager implements ISOPackager, LogSource { public Logger getLogger() { return logger; }  void setFieldPackager(ISOFieldPackager[] fld); void setThirdBitmapField(int f); int getThirdBitmapField(); @Override byte[] pack(ISOComponent m); @Override int unpack(ISOComponent m, byte[] b); void unpack(ISOComponent m, InputStream in); String getFieldDescription(ISOComponent m, int fldNumber); ISOFieldPackager getFieldPackager(int fldNumber); void setFieldPackager(int fldNumber, ISOFieldPackager fieldPackager); ISOMsg createISOMsg(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); int getHeaderLength(); void setHeaderLength(int len); String getDescription();  }### Answer:
@Test public void testGetLogger() { Logger logger = mock(Logger.class); iSOBasePackager.setLogger(logger, "testRealm"); assertThat(iSOBasePackager.getLogger(), is(logger)); }