### Question:
Connector implements ISORequestListener, LogSource, Configurable { public void setLogger (Logger logger, String realm) { this.logger = logger; this.realm = realm; } Connector(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); void setConfiguration(Configuration cfg); boolean process(ISOSource source, ISOMsg m);  }### Answer:
@Test public void testSetLogger() throws Throwable { Connector connector = new Connector(); Logger logger = new Logger(); connector.setLogger(logger, "testConnectorRealm"); assertSame(logger, connector.getLogger(), "connector.getLogger()"); assertEquals("testConnectorRealm", connector.getRealm(), "connector.getRealm()"); }