Logger logger = new Logger();
SimpleLogSource bSHTransactionParticipant = new BSHTransactionParticipant();
logger.addListener(null);
bSHTransactionParticipant.setLogger(logger, "testSimpleLogSourceRealm");
try {
bSHTransactionParticipant.info("testSimpleLogSourceDetail");
fail("Expected NullPointerException to be thrown");
} catch (NullPointerException ex) {
assertNull("ex.getMessage()", ex.getMessage());
}
}