### Question:
PostPackager extends ISOBasePackager { public void setLogger (Logger logger, String realm) { super.setLogger (logger, realm); p127.setLogger (logger, realm + ".PostPrivatePackager"); } PostPackager(); void setLogger(Logger logger, String realm);  }### Answer:
@Test public void testSetLogger() throws Throwable { PostPackager postPackager = new PostPackager(); Logger logger = Logger.getLogger("testPostPackagerName"); postPackager.setLogger(logger, "testPostPackagerRealm"); assertNotNull(postPackager.p127, "postPackager.p127"); assertSame(logger, postPackager.getLogger(), "postPackager.getLogger()"); assertEquals("testPostPackagerRealm", postPackager.getRealm(), "postPackager.getRealm()"); }