@Test public void testSetLogger() throws Throwable { Logger logger = new Logger(); SimpleLogSource bSHTransactionParticipant = new BSHTransactionParticipant(); bSHTransactionParticipant.setLogger(logger, "testSimpleLogSourceRealm"); assertEquals("testSimpleLogSourceRealm", ((BSHTransactionParticipant) bSHTransactionParticipant).realm, "(BSHTransactionParticipant) bSHTransactionParticipant.realm"); assertSame(logger, ((BSHTransactionParticipant) bSHTransactionParticipant).logger, "(BSHTransactionParticipant) bSHTransactionParticipant.logger"); }
public void setLogger (Logger logger, String realm) { this.logger = logger; this.realm = realm; }
SimpleLogSource implements LogSource { public void setLogger (Logger logger, String realm) { this.logger = logger; this.realm = realm; } }
SimpleLogSource implements LogSource { public void setLogger (Logger logger, String realm) { this.logger = logger; this.realm = realm; } SimpleLogSource();  SimpleLogSource(Logger logger, String realm); }
SimpleLogSource implements LogSource { public void setLogger (Logger logger, String realm) { this.logger = logger; this.realm = realm; } SimpleLogSource();  SimpleLogSource(Logger logger, String realm); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); void setRealm(String realm); void info(String detail); void info(String detail, Object obj); void warning(String detail); void warning(String detail, Object obj); void error(String detail); void error(String detail, Object obj); }
SimpleLogSource implements LogSource { public void setLogger (Logger logger, String realm) { this.logger = logger; this.realm = realm; } SimpleLogSource();  SimpleLogSource(Logger logger, String realm); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); void setRealm(String realm); void info(String detail); void info(String detail, Object obj); void warning(String detail); void warning(String detail, Object obj); void error(String detail); void error(String detail, Object obj);  }