* @throws Exception
*/
public void testGetSubject() throws Exception
{
log.debug("+++ testGetSubject()");
Bad bean = getBadSession();
try
{
// Access to the thread Subject is allowed
bean.getSubject();
log.debug("Called Bad.getSubject");
}
catch(Exception e)
{
log.error("Was not able to call Bad.getSubject", e);
fail("Was not able to call Bad.getSubject"+e.getLocalizedMessage());
}
bean.remove();
}