Pass an Object as Parameter in Junit test private CRCParticipant createFormObjectForUpdateParticipant(RequestContex t context){ CRCParticipant crcParticipant = null; Account account=null; Object userInformation = context.getExternalContext().getSessionMap().get(C onstants.USERSESSION); //logger.debug("userInformation:"+ userInformation.toString()); UserContext userContext = (UserContext)userInformation; if(userContext ...