}
public void testPasswordInjection() throws Exception
{
InitialContext ic = new InitialContext();
TestPasswordInjectedBean tp = (TestPasswordInjectedBean) ic.lookup("testJNDIBean");
assertNotNull("Password Bean is in JNDI", tp);
assertTrue("Password has been injected", tp.isPasswordSet());
}