### Question:
LoopbackChannel extends FilteredBase implements LogSource { public Logger getLogger() { return logger; } LoopbackChannel(); void setPackager(ISOPackager packager); void connect(); void disconnect(); void reconnect(); boolean isConnected(); void send(ISOMsg m); void send(byte[] b); ISOMsg receive(); void setUsable(boolean usable); int[] getCounters(); void setName(String name); String getName(); ISOPackager getPackager(); void resetCounters(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger();  }### Answer:
@Test public void testGetLogger() throws Throwable { LoopbackChannel loopbackChannel = new LoopbackChannel(); Logger logger = new Logger(); loopbackChannel.setLogger(logger, "testLoopbackChannelRealm"); Logger result = loopbackChannel.getLogger(); assertSame(logger, result, "result"); }